From c48ef6dcf6901114fa70ea632aaba087e145d6e2 Mon Sep 17 00:00:00 2001 From: Yordi Date: Tue, 17 Jan 2023 12:39:21 +0100 Subject: [PATCH] Don't overwrite userId when editing a postit, original user who placed the postit should always stay as the owner --- .../eu/habbo/messages/incoming/rooms/items/SetItemDataEvent.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/eu/habbo/messages/incoming/rooms/items/SetItemDataEvent.java b/src/main/java/com/eu/habbo/messages/incoming/rooms/items/SetItemDataEvent.java index 886c4b26..eccdaf59 100644 --- a/src/main/java/com/eu/habbo/messages/incoming/rooms/items/SetItemDataEvent.java +++ b/src/main/java/com/eu/habbo/messages/incoming/rooms/items/SetItemDataEvent.java @@ -51,7 +51,6 @@ public class SetItemDataEvent extends MessageHandler { if (color.isEmpty()) color = PostItColor.YELLOW.hexColor; - item.setUserId(room.getOwnerId()); item.setExtradata(color + " " + text); item.needsUpdate(true); room.updateItem(item);