From 9557f4a9822394556a34ec05a3c8b29aa2ee7ebf Mon Sep 17 00:00:00 2001 From: Angelillo15 Date: Fri, 24 May 2024 18:11:34 +0200 Subject: [PATCH] Fix ObjectInputStream --- .../nookure/staff/paper/data/PluginObjectInputStream.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/NookureStaff-Paper/src/main/java/com/nookure/staff/paper/data/PluginObjectInputStream.java b/NookureStaff-Paper/src/main/java/com/nookure/staff/paper/data/PluginObjectInputStream.java index d6338cfa..4a5f80bd 100644 --- a/NookureStaff-Paper/src/main/java/com/nookure/staff/paper/data/PluginObjectInputStream.java +++ b/NookureStaff-Paper/src/main/java/com/nookure/staff/paper/data/PluginObjectInputStream.java @@ -24,11 +24,6 @@ protected PluginObjectInputStream(java.io.InputStream in) throws IOException { @Override protected Object resolveObject(Object obj) throws IOException { - - if (wrapper.isInstance(obj)) { - return obj; - } - return super.resolveObject(obj); } }