bugfix/npcids

This commit is contained in:
PBLord
2017-08-25 12:32:16 +01:00
committed by GitHub
parent a510178462
commit 6d438c4224
@@ -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[] rocks = {7456, 7455, 7488};
private final int[] pickAxes = {1266, 1268, 1270, 1272, 1274, 1276, 14605, 14608};
@Override
@@ -87,7 +87,7 @@ public class Jail implements Random {
}
private Npc getJailer() {
for (Npc jailer : Npcs.getNearest(201)) {
for (Npc jailer : Npcs.getNearest(300)) {
if (jailer != null && jailer.getDef() != null) {
return jailer;
}