Made packet intercepting possible

This commit is contained in:
LOOHP
2022-02-10 01:54:13 +00:00
parent 00600647ae
commit 4353859951
11 changed files with 346 additions and 109 deletions
@@ -0,0 +1,21 @@
package com.loohp.limbo.network;
import com.loohp.limbo.network.protocol.packets.PacketOut;
public final class ChannelPacketWrite {
private PacketOut packet;
protected ChannelPacketWrite(PacketOut packet) {
this.packet = packet;
}
public PacketOut getPacket() {
return packet;
}
public void setPacket(PacketOut packet) {
this.packet = packet;
}
}