Skip to content

Commit

Permalink
Caused by not reading the doc https://guava.dev/releases/21.0/api/doc…
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumine1909 committed Nov 30, 2024
1 parent b5fa4d7 commit 27c793c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions patches/server/0115-Bytebuf-API.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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.*;
+
Expand Down Expand Up @@ -633,7 +632,7 @@ index 0000000000000000000000000000000000000000..dccb9b0bdd1fea20f1b073ccaf8e9111
+ throw new RuntimeException(e);
+ }
+ });
+ } catch (ExecutionException ignore) {
+ } catch (Exception ignore) {
+ return null;
+ }
+ }
Expand Down

0 comments on commit 27c793c

Please sign in to comment.