mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 12:22:36 +01:00
Fixed if-else statement
This commit is contained in:
parent
b638e04737
commit
d2d3dcc78c
@ -608,8 +608,7 @@ public class HabboStats implements Runnable {
|
|||||||
if (!Emulator.getConfig().getBoolean("hotel.ignore.staffs")) {
|
if (!Emulator.getConfig().getBoolean("hotel.ignore.staffs")) {
|
||||||
if (target.getHabboInfo().getRank().getId() >= gameClient.getHabbo().getHabboInfo().getRank().getId()) {
|
if (target.getHabboInfo().getRank().getId() >= gameClient.getHabbo().getHabboInfo().getRank().getId()) {
|
||||||
gameClient.getHabbo().whisper(Emulator.getTexts().getValue("generic.error.higher_rank"), RoomChatMessageBubbles.ALERT);
|
gameClient.getHabbo().whisper(Emulator.getTexts().getValue("generic.error.higher_rank"), RoomChatMessageBubbles.ALERT);
|
||||||
} else {
|
} else if (!this.userIgnored(userId)) {
|
||||||
if (!this.userIgnored(userId)) {
|
|
||||||
this.ignoredUsers.add(userId);
|
this.ignoredUsers.add(userId);
|
||||||
|
|
||||||
try (Connection connection = Emulator.getDatabase().getDataSource().getConnection();
|
try (Connection connection = Emulator.getDatabase().getDataSource().getConnection();
|
||||||
@ -622,7 +621,7 @@ public class HabboStats implements Runnable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else if (!this.userIgnored(userId)) {
|
else if (!this.userIgnored(userId)) {
|
||||||
this.ignoredUsers.add(userId);
|
this.ignoredUsers.add(userId);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user