mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-03 13:42:25 -07:00
Properly fix item duplication bug
Credit to prplz for figuring out the real issue
This commit is contained in:
@@ -1477,7 +1477,7 @@
|
||||
+
|
||||
+ @Override
|
||||
+ public boolean isImmobile() {
|
||||
+ return super.isImmobile() || !this.getBukkitEntity().isOnline();
|
||||
+ return super.isImmobile() || (this.connection != null && this.connection.isDisconnected()); // Paper - Fix duplication bugs
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
|
Reference in New Issue
Block a user