mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
Shameful fix build
This commit is contained in:
parent
1fcbdf55a9
commit
aca78e8478
@ -48,7 +48,7 @@ public class RoomChatMessage implements Runnable, ISerialize, DatabaseLoggable {
|
||||
private byte emotion;
|
||||
|
||||
public RoomChatMessage(MessageHandler message) {
|
||||
if (message.packet.getMessageId() == Incoming.whisperEvent) {
|
||||
if (message.packet.getMessageId() == Incoming.whisperEvent.getMessageId()) {
|
||||
String data = message.packet.readString();
|
||||
this.targetHabbo = message.client.getHabbo().getRoomUnit().getRoom().getRoomUnitManager().getRoomHabboByUsername(data.split(" ")[0]);
|
||||
this.message = data.substring(data.split(" ")[0].length() + 1);
|
||||
|
@ -102,7 +102,7 @@ public class IdleTimeoutHandler extends ChannelDuplexHandler {
|
||||
* how to handle it if you are using multi revision?
|
||||
*/
|
||||
if(msg instanceof ClientMessage packet) {
|
||||
if(packet.getMessageId() == Incoming.pongEvent) {
|
||||
if(packet.getMessageId() == Incoming.pongEvent.getMessageId()) {
|
||||
this.lastPongTime = System.nanoTime();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user