diff --git a/src/main/java/mpo/dayon/common/network/message/NetworkMessage.java b/src/main/java/mpo/dayon/common/network/message/NetworkMessage.java index 3bc8d2bc..075d24ef 100644 --- a/src/main/java/mpo/dayon/common/network/message/NetworkMessage.java +++ b/src/main/java/mpo/dayon/common/network/message/NetworkMessage.java @@ -6,7 +6,7 @@ public abstract class NetworkMessage { private static final byte MAGIC_NUMBER = (byte) 170; - public NetworkMessage() {} + protected NetworkMessage() {} public abstract NetworkMessageType getType(); public abstract int getWireSize();