Pretend to fix compile errors

This commit is contained in:
Bjarne Koll 2024-06-14 15:16:29 +02:00
parent a308c7c8d7
commit 69d1d0a4f4
No known key found for this signature in database
GPG key ID: 27F6CCCF55D2EE62
6 changed files with 24 additions and 16 deletions

View file

@ -60,7 +60,7 @@ index 0000000000000000000000000000000000000000..d926ad804355ee2fdc5910b2505e8671
+}
diff --git a/src/main/java/com/destroystokyo/paper/network/StandardPaperServerListPingEventImpl.java b/src/main/java/com/destroystokyo/paper/network/StandardPaperServerListPingEventImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..6b0bdc266109cdfb874f08bf74323603921d2260
index 0000000000000000000000000000000000000000..69433be355f284030ca79cba509a351bb32ccd8b
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/network/StandardPaperServerListPingEventImpl.java
@@ -0,0 +1,116 @@
@ -146,7 +146,7 @@ index 0000000000000000000000000000000000000000..6b0bdc266109cdfb874f08bf74323603
+
+ // Close connection immediately if event is cancelled
+ if (event.isCancelled()) {
+ networkManager.disconnect(null);
+ networkManager.disconnect((Component) null);
+ return;
+ }
+