mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 12:22:36 +01:00
MannequinSaveNameEvent now checks for acc_anyroomowner
This commit is contained in:
parent
c4495408b5
commit
2bb55a8e38
@ -9,7 +9,7 @@ public class MannequinSaveNameEvent extends MessageHandler {
|
||||
@Override
|
||||
public void handle() throws Exception {
|
||||
Room room = this.client.getHabbo().getHabboInfo().getCurrentRoom();
|
||||
if (room == null || this.client.getHabbo().getHabboInfo().getId() != room.getOwnerId())
|
||||
if (room == null || !room.isOwner(this.client.getHabbo()))
|
||||
return;
|
||||
|
||||
HabboItem item = room.getHabboItem(this.packet.readInt());
|
||||
|
Loading…
x
Reference in New Issue
Block a user