mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 04:12:37 +01:00
Fix NPE in freeze tile
This commit is contained in:
parent
6a992dbda9
commit
285fe97075
@ -76,7 +76,7 @@ public class InteractionFreezeTile extends HabboItem {
|
||||
@Override
|
||||
public boolean canStackAt(Room room, List<Pair<RoomTile, THashSet<HabboItem>>> itemsAtLocation) {
|
||||
for (Pair<RoomTile, THashSet<HabboItem>> set : itemsAtLocation) {
|
||||
if (!set.getValue().isEmpty()) return false;
|
||||
if (set.getValue() != null && !set.getValue().isEmpty()) return false;
|
||||
}
|
||||
|
||||
return super.canStackAt(room, itemsAtLocation);
|
||||
|
Loading…
x
Reference in New Issue
Block a user