mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-19 07:56:26 +01:00
parent
1bd21c490f
commit
a0072a407f
@ -527,10 +527,10 @@ public class RoomManager {
|
|||||||
if (overrideChecks ||
|
if (overrideChecks ||
|
||||||
room.isOwner(habbo) ||
|
room.isOwner(habbo) ||
|
||||||
room.getState() == RoomState.OPEN ||
|
room.getState() == RoomState.OPEN ||
|
||||||
room.getState() == RoomState.INVISIBLE ||
|
|
||||||
habbo.hasPermission(Permission.ACC_ANYROOMOWNER) ||
|
habbo.hasPermission(Permission.ACC_ANYROOMOWNER) ||
|
||||||
habbo.hasPermission(Permission.ACC_ENTERANYROOM) ||
|
habbo.hasPermission(Permission.ACC_ENTERANYROOM) ||
|
||||||
room.hasRights(habbo) ||
|
room.hasRights(habbo) ||
|
||||||
|
(room.getState().equals(RoomState.INVISIBLE) && room.hasRights(habbo)) ||
|
||||||
(room.hasGuild() && room.guildRightLevel(habbo) > 2)) {
|
(room.hasGuild() && room.guildRightLevel(habbo) > 2)) {
|
||||||
this.openRoom(habbo, room, doorLocation);
|
this.openRoom(habbo, room, doorLocation);
|
||||||
} else if (room.getState() == RoomState.LOCKED) {
|
} else if (room.getState() == RoomState.LOCKED) {
|
||||||
@ -563,6 +563,9 @@ public class RoomManager {
|
|||||||
habbo.getClient().sendResponse(new HotelViewComposer());
|
habbo.getClient().sendResponse(new HotelViewComposer());
|
||||||
habbo.getHabboInfo().setLoadingRoom(0);
|
habbo.getHabboInfo().setLoadingRoom(0);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
habbo.getClient().sendResponse(new HotelViewComposer());
|
||||||
|
habbo.getHabboInfo().setLoadingRoom(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user