From cef9b75f5e77504b14e27c5822ecb8bc71b504aa Mon Sep 17 00:00:00 2001 From: Manuel Palumbo Date: Fri, 14 Jul 2023 19:51:40 +0200 Subject: [PATCH] Fix hashcode changing between different executions (#2478) --- src/main/java/com/comphenix/protocol/PacketType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/comphenix/protocol/PacketType.java b/src/main/java/com/comphenix/protocol/PacketType.java index a4de543aa..316c71d28 100644 --- a/src/main/java/com/comphenix/protocol/PacketType.java +++ b/src/main/java/com/comphenix/protocol/PacketType.java @@ -731,7 +731,7 @@ public String getMojangName() { private boolean forceAsync; private boolean dynamic; - private int hashCode; + private transient int hashCode; /** * Retrieve the current packet/legacy lookup.