diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/asm/InjectClassAcceptor.java b/LaunchServer/src/main/java/pro/gravit/launchserver/asm/InjectClassAcceptor.java index 93d1ca7a..fcba7a13 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/asm/InjectClassAcceptor.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/asm/InjectClassAcceptor.java @@ -114,9 +114,10 @@ public void visit(final String name, final Object value) { }); } - private static Map, Serializer> serializers = new HashMap<>(); + private static final Map, Serializer> serializers; static { + serializers = new HashMap<>(); serializers.put(List.class, new ListSerializer()); serializers.put(Map.class, new MapSerializer()); serializers.put(byte[].class, new ByteArraySerializer());