mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 12:22:36 +01:00
Do not flood when triggering a wired
This commit is contained in:
parent
806d747d3b
commit
bfda48c22e
@ -2989,8 +2989,6 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
habbo.getHabboStats().chatCounter += 2;
|
|
||||||
|
|
||||||
if (habbo.getHabboInfo().getCurrentRoom() != this)
|
if (habbo.getHabboInfo().getCurrentRoom() != this)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -3002,6 +3000,7 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
|||||||
}
|
}
|
||||||
habbo.getHabboStats().lastChat = millis;
|
habbo.getHabboStats().lastChat = millis;
|
||||||
if (roomChatMessage != null && roomChatMessage.getMessage().equalsIgnoreCase("i am a pirate")) {
|
if (roomChatMessage != null && roomChatMessage.getMessage().equalsIgnoreCase("i am a pirate")) {
|
||||||
|
habbo.getHabboStats().chatCounter += 2;
|
||||||
Emulator.getThreading().run(new YouAreAPirate(habbo, this));
|
Emulator.getThreading().run(new YouAreAPirate(habbo, this));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -3060,6 +3059,8 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
habbo.getHabboStats().chatCounter += 2;
|
||||||
|
|
||||||
ServerMessage prefixMessage = roomChatMessage.getHabbo().getHabboInfo().getRank().hasPrefix() ? new RoomUserNameChangedComposer(habbo, true).compose() : null;
|
ServerMessage prefixMessage = roomChatMessage.getHabbo().getHabboInfo().getRank().hasPrefix() ? new RoomUserNameChangedComposer(habbo, true).compose() : null;
|
||||||
ServerMessage clearPrefixMessage = prefixMessage != null ? new RoomUserNameChangedComposer(habbo).compose() : null;
|
ServerMessage clearPrefixMessage = prefixMessage != null ? new RoomUserNameChangedComposer(habbo).compose() : null;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user