mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +01:00
Merge branch 'fix/mannequin-save-name-event' into 'dev'
MannequinSaveNameEvent now checks for acc_anyroomowner See merge request morningstar/Arcturus-Community!397
This commit is contained in:
commit
1949ed4c66
@ -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…
Reference in New Issue
Block a user