diff --git a/patches/server/0115-Bytebuf-API.patch b/patches/server/0115-Bytebuf-API.patch index 4068527..bb27744 100644 --- a/patches/server/0115-Bytebuf-API.patch +++ b/patches/server/0115-Bytebuf-API.patch @@ -409,10 +409,10 @@ index 0000000000000000000000000000000000000000..9601eb5aa8cbcf1836cba7853af9ece2 +} diff --git a/src/main/java/org/leavesmc/leaves/bytebuf/internal/InternalBytebufHandler.java b/src/main/java/org/leavesmc/leaves/bytebuf/internal/InternalBytebufHandler.java new file mode 100644 -index 0000000000000000000000000000000000000000..dccb9b0bdd1fea20f1b073ccaf8e911140b5e333 +index 0000000000000000000000000000000000000000..04dbb4cb7c3ea4979c33dba595208e22e6552b0a --- /dev/null +++ b/src/main/java/org/leavesmc/leaves/bytebuf/internal/InternalBytebufHandler.java -@@ -0,0 +1,235 @@ +@@ -0,0 +1,234 @@ +package org.leavesmc.leaves.bytebuf.internal; + +import com.google.common.cache.Cache; @@ -446,7 +446,6 @@ index 0000000000000000000000000000000000000000..dccb9b0bdd1fea20f1b073ccaf8e9111 +import java.lang.reflect.Field; +import java.util.HashMap; +import java.util.Map; -+import java.util.concurrent.ExecutionException; + +import static org.leavesmc.leaves.bytebuf.packet.PacketType.*; + @@ -633,7 +632,7 @@ index 0000000000000000000000000000000000000000..dccb9b0bdd1fea20f1b073ccaf8e9111 + throw new RuntimeException(e); + } + }); -+ } catch (ExecutionException ignore) { ++ } catch (Exception ignore) { + return null; + } + }