aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0836-Send-block-entities-after-destroy-prediction.patch
diff options
context:
space:
mode:
authorSpottedleaf <[email protected]>2023-09-26 13:16:21 -0700
committerSpottedleaf <[email protected]>2023-09-26 13:16:24 -0700
commitfe54a13b1301312304d9c1e46ad91b039657120b (patch)
tree31e22d053a581d85402b3acf14e73db9c5cd22ef /patches/server/0836-Send-block-entities-after-destroy-prediction.patch
parentb3b961f9d50144a3c131016d0dc8d0efe3f43412 (diff)
downloadPaper-fe54a13b1301312304d9c1e46ad91b039657120b.tar.gz
Paper-fe54a13b1301312304d9c1e46ad91b039657120b.zip
Properly call overloaded super onDisconnect
Since the method is overloaded, the call to super (which is changed to call the overloaded method) without the additional parameters will result in recursion.
Diffstat (limited to 'patches/server/0836-Send-block-entities-after-destroy-prediction.patch')
-rw-r--r--patches/server/0836-Send-block-entities-after-destroy-prediction.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/server/0836-Send-block-entities-after-destroy-prediction.patch b/patches/server/0836-Send-block-entities-after-destroy-prediction.patch
index 6014c369d6..509dc02f75 100644
--- a/patches/server/0836-Send-block-entities-after-destroy-prediction.patch
+++ b/patches/server/0836-Send-block-entities-after-destroy-prediction.patch
@@ -57,7 +57,7 @@ index 96fde7b84ce4d195d0c54deff71df9fcf8447979..6cc9c28032cafd15d884223a01208ce6
}
}
diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-index 8014c067396dc595ec456847e05615f8aa794f1e..7ffd1d56ec88ffc8e3d6d0124260c3f76f3554ee 100644
+index 675467a6552cfc1f951e7c81a9be0d423cae8c44..db5368bf4970c63f21ef1e5fc7428787c90de4dd 100644
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
@@ -1751,8 +1751,28 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl