diff --git a/API/src/main/java/ninja/egg82/messenger/packets/Packet.java b/API/src/main/java/ninja/egg82/messenger/packets/Packet.java index 0164622..c766a1b 100644 --- a/API/src/main/java/ninja/egg82/messenger/packets/Packet.java +++ b/API/src/main/java/ninja/egg82/messenger/packets/Packet.java @@ -3,10 +3,9 @@ import io.netty.buffer.ByteBuf; import org.jetbrains.annotations.NotNull; -import java.io.Serializable; import java.util.UUID; -public interface Packet extends Serializable { +public interface Packet { void read(@NotNull ByteBuf buffer); void write(@NotNull ByteBuf buffer);