mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 08:50:51 +01:00
Fix puzzle boxes going through the wall (closes #340)
This commit is contained in:
parent
aff9e75fe1
commit
ae9e6cfa62
@ -62,7 +62,7 @@ public class InteractionPuzzleBox extends HabboItem {
|
||||
|
||||
RoomTile tile = room.getLayout().getTileInFront(room.getLayout().getTile(this.getX(), this.getY()), rotation.getValue());
|
||||
|
||||
if (tile == null || room.hasHabbosAt(tile.x, tile.y)) {
|
||||
if (tile == null || tile.getState() == RoomTileState.INVALID || room.hasHabbosAt(tile.x, tile.y)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user