From b68842d1723b6a8ce77406775d1ed89e300ac087 Mon Sep 17 00:00:00 2001 From: KrewsOrg Date: Sat, 4 May 2019 02:23:31 +0100 Subject: [PATCH] Fixed NullPointer in InteractionRoller --- .../habbo/habbohotel/items/interactions/InteractionRoller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionRoller.java b/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionRoller.java index b6be49a0..0bc1b7fb 100644 --- a/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionRoller.java +++ b/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionRoller.java @@ -82,7 +82,7 @@ public class InteractionRoller extends HabboItem for (Pair> set : itemsAtLocation) { - if (!set.getValue().isEmpty()) + if (set.getValue() != null && !set.getValue().isEmpty()) { if (set.getValue().size() > 1) {