mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 12:22:36 +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
|
@Override
|
||||||
public boolean canStackAt(Room room, List<Pair<RoomTile, THashSet<HabboItem>>> itemsAtLocation) {
|
public boolean canStackAt(Room room, List<Pair<RoomTile, THashSet<HabboItem>>> itemsAtLocation) {
|
||||||
for (Pair<RoomTile, THashSet<HabboItem>> set : 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);
|
return super.canStackAt(room, itemsAtLocation);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user