mirror of
https://github.com/2006-Scape/Parabot-Randoms.git
synced 2026-07-03 08:39:09 +00:00
[NAMING] Fixed Naming in BobsRandom and Jail classes.
This commit is contained in:
@@ -20,7 +20,7 @@ import java.util.ArrayList;
|
||||
public class BobsIsland implements Random {
|
||||
|
||||
private static final Tile center = new Tile(2525,4777);
|
||||
private static final int portal_id = 8987;
|
||||
private static final int portalId = 8987;
|
||||
|
||||
public BobsIsland() {
|
||||
}
|
||||
@@ -32,7 +32,7 @@ public class BobsIsland implements Random {
|
||||
|
||||
@Override
|
||||
public void execute() {
|
||||
SceneObject[] portals = SceneObjects.getNearest(portal_id);
|
||||
SceneObject[] portals = SceneObjects.getNearest(portalId);
|
||||
|
||||
for(final SceneObject portal : portals){
|
||||
if(portal != null){
|
||||
|
||||
@@ -17,7 +17,7 @@ import org.rev317.min.api.wrappers.SceneObject;
|
||||
public class Jail implements Random {
|
||||
private Npc jailer;
|
||||
private final int[] rocks = {2093, 2092};
|
||||
private final int[] pick_axes = {1266, 1268, 1270, 1272, 1274, 1276, 14605, 14608};
|
||||
private final int[] pickAxes = {1266, 1268, 1270, 1272, 1274, 1276, 14605, 14608};
|
||||
|
||||
@Override
|
||||
public boolean activate() {
|
||||
@@ -39,7 +39,7 @@ public class Jail implements Random {
|
||||
SceneObject rock = getRock();
|
||||
|
||||
//Check if we got an Pickaxe
|
||||
if (Inventory.getCount(pick_axes) > 0) {
|
||||
if (Inventory.getCount(pickAxes) > 0) {
|
||||
|
||||
//Check if we can min the ores
|
||||
if (!Inventory.isFull()) {
|
||||
|
||||
Reference in New Issue
Block a user