From 62d2b50207001d630b736024eb5a50d997e57c94 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 14 Jun 2022 15:12:07 +0200 Subject: [PATCH] Optimize meta infos even more --- src/de/steamwar/network/packets/NetworkPacket.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/de/steamwar/network/packets/NetworkPacket.java b/src/de/steamwar/network/packets/NetworkPacket.java index 2a50056..14797fc 100644 --- a/src/de/steamwar/network/packets/NetworkPacket.java +++ b/src/de/steamwar/network/packets/NetworkPacket.java @@ -27,7 +27,11 @@ import java.io.*; @EqualsAndHashCode public abstract class NetworkPacket implements Serializable { - public transient MetaInfos metaInfos; + private transient MetaInfos metaInfos; + + public MetaInfos getMetaInfos() { + return metaInfos; + } @SneakyThrows public byte[] serialize() {