This commit is contained in:
luk
2026-02-17 21:08:31 +00:00
parent d076e75b10
commit 428f3171e5
2 changed files with 22 additions and 0 deletions

View File

@@ -224,10 +224,12 @@ public abstract class PacketHandler implements IPacketReceiver {
this.writePacket(packet, false);
}
@Override
public void write(@Nonnull Packet packet) {
this.writePacket((ToClientPacket)packet, true);
}
@Override
public void writeNoCache(@Nonnull Packet packet) {
this.writePacket((ToClientPacket)packet, false);
}

View File

@@ -0,0 +1,20 @@
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
package com.hypixel.hytale.server.core.receiver;
import com.hypixel.hytale.protocol.Packet;
import com.hypixel.hytale.protocol.ToClientPacket;
import javax.annotation.Nonnull;
public interface IPacketReceiver {
void write(@Nonnull ToClientPacket var1);
void writeNoCache(@Nonnull ToClientPacket var1);
void write(@Nonnull Packet var1);
void writeNoCache(@Nonnull Packet var1);
}