forked from BLOCKFANTASY/LOOHP-Limbo
Made packet intercepting possible
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user