[NAMING] Fixed Naming in BobsRandom and Jail classes.

This commit is contained in:
Fryslan
2016-06-10 22:00:41 +02:00
parent 191645ca3a
commit 188a97a010
2 changed files with 4 additions and 4 deletions
@@ -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()) {