mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-23 19:35:10 -06:00
Fix ravagers building doors in a different way
This commit is contained in:
parent
38ec74d178
commit
07c4468019
1 changed files with 3 additions and 2 deletions
|
|
@ -31,7 +31,6 @@ public final class PestControlSession {
|
|||
*/
|
||||
public static final int[] INVALID_OBJECT_IDS = {14230, 14231, 14232, // Barricades
|
||||
14245, 14246, 14247, 14248, // Gates
|
||||
25636 // Strange phantom object that shares a tile with a barricade
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -275,7 +274,9 @@ public final class PestControlSession {
|
|||
for (Scenery object : objectList) {
|
||||
for (Point point : OBJECT_OFFSETS) {
|
||||
if (object.getLocation().getLocalX() == point.getX() && object.getLocation().getLocalY() == point.getY()) {
|
||||
barricades.add(object);
|
||||
if (object.getId() != 25636) { //strange phantom object that shares a tile with a barricade
|
||||
barricades.add(object);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue