mirror of
https://github.com/2006-Scape/Parabot-Randoms.git
synced 2026-07-04 00:37:57 +00:00
bugfix/npcids
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user