mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +01:00
Do not pick up postit notes with pickall
This commit is contained in:
parent
b80ebad61b
commit
d6a21ed131
@ -4089,11 +4089,10 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
|||||||
if (habbo != null && iterator.value().getUserId() == habbo.getHabboInfo().getId())
|
if (habbo != null && iterator.value().getUserId() == habbo.getHabboInfo().getId())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (userItemsMap.get(iterator.value().getUserId()) == null) {
|
if (iterator.value() instanceof InteractionPostIt)
|
||||||
userItemsMap.put(iterator.value().getUserId(), new THashSet<>());
|
continue;
|
||||||
}
|
|
||||||
|
|
||||||
userItemsMap.get(iterator.value().getUserId()).add(iterator.value());
|
userItemsMap.computeIfAbsent(iterator.value().getUserId(), k -> new THashSet<>()).add(iterator.value());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user