mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +01:00
Merge branch 'patch-28' into 'dev'
optimized statement See merge request morningstar/Arcturus-Community!204
This commit is contained in:
commit
f6058890ed
@ -13,9 +13,9 @@ public class ModToolChangeRoomSettingsEvent extends MessageHandler {
|
||||
Room room = Emulator.getGameEnvironment().getRoomManager().getRoom(this.packet.readInt());
|
||||
|
||||
if (room != null) {
|
||||
boolean lockDoor = this.packet.readInt() == 1;
|
||||
boolean changeTitle = this.packet.readInt() == 1;
|
||||
boolean kickUsers = this.packet.readInt() == 1;
|
||||
final boolean lockDoor = this.packet.readInt() == 1;
|
||||
final boolean changeTitle = this.packet.readInt() == 1;
|
||||
final boolean kickUsers = this.packet.readInt() == 1;
|
||||
|
||||
Emulator.getGameEnvironment().getModToolManager().roomAction(room, this.client.getHabbo(), kickUsers, lockDoor, changeTitle);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user