mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
Fix banzai puck not being able to move in empty rooms
This commit is contained in:
parent
8bfaeed69d
commit
1e3067f2ce
@ -124,10 +124,7 @@ public class InteractionBattleBanzaiPuck extends InteractionPushable {
|
||||
|
||||
@Override
|
||||
public boolean validMove(Room room, RoomTile from, RoomTile to) {
|
||||
if (room == null || from == null || to == null) return false;
|
||||
|
||||
HabboItem topItem = room.getTopItemAt(to.x, to.y, this);
|
||||
return topItem != null;
|
||||
return room != null && from != null && to != null;
|
||||
//return !(!room.getLayout().tileWalkable(to.x, to.y) || (topItem != null && (!topItem.getBaseItem().setAllowStack() || topItem.getBaseItem().allowSit() || topItem.getBaseItem().allowLay())));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user