diff --git a/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java b/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java index 480f5f4c..a99a9ea6 100644 --- a/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java +++ b/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java @@ -4089,11 +4089,10 @@ public class Room implements Comparable, ISerialize, Runnable { if (habbo != null && iterator.value().getUserId() == habbo.getHabboInfo().getId()) continue; - if (userItemsMap.get(iterator.value().getUserId()) == null) { - userItemsMap.put(iterator.value().getUserId(), new THashSet<>()); - } + if (iterator.value() instanceof InteractionPostIt) + continue; - userItemsMap.get(iterator.value().getUserId()).add(iterator.value()); + userItemsMap.computeIfAbsent(iterator.value().getUserId(), k -> new THashSet<>()).add(iterator.value()); } }