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