mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-26 16:30:52 +01:00
Fix issue #980
This commit is contained in:
parent
5caf43ce1f
commit
fd8401d4fd
@ -39,12 +39,12 @@ public class PostItSaveDataEvent extends MessageHandler {
|
||||
if (!(item instanceof InteractionPostIt))
|
||||
return;
|
||||
|
||||
if (!color.equalsIgnoreCase(PostItColor.YELLOW.hexColor) && !room.hasRights(this.client.getHabbo()) && item.getUserId() != this.client.getHabbo().getHabboInfo().getId()) {
|
||||
if (!color.equalsIgnoreCase(PostItColor.YELLOW.hexColor) && !room.hasRights(this.client.getHabbo())) {
|
||||
if (!text.startsWith(item.getExtradata().replace(item.getExtradata().split(" ")[0], ""))) {
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
if (!room.hasRights(this.client.getHabbo()) && item.getUserId() != this.client.getHabbo().getHabboInfo().getId())
|
||||
if (!room.hasRights(this.client.getHabbo()))
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user