Resolve memory leak involving TileEntities

Their chunk is set to null before removal, so we kept them around.
This commit is contained in:
Spottedleaf
2019-05-14 14:54:32 -07:00
parent 8ff0f5c10d
commit b10550736e
145 changed files with 293 additions and 368 deletions

View File

@@ -16,7 +16,7 @@ Refresh the player inventory when PlayerInteractEntityEvent is
cancelled to avoid this problem.
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
index 0385eced6..4c99a321b 100644
index 0385eced64..4c99a321b7 100644
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
@@ -0,0 +0,0 @@ public class PlayerConnection implements PacketListenerPlayIn {