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

@@ -7,7 +7,7 @@ ray tracing into an unloaded chunk should be treated as a miss
this saves a ton of lag for when AI tries to raytrace near unloaded chunks.
diff --git a/src/main/java/net/minecraft/server/IBlockAccess.java b/src/main/java/net/minecraft/server/IBlockAccess.java
index 6e365f402..b1423a3c8 100644
index 6e365f402c..b1423a3c8d 100644
--- a/src/main/java/net/minecraft/server/IBlockAccess.java
+++ b/src/main/java/net/minecraft/server/IBlockAccess.java
@@ -0,0 +0,0 @@ public interface IBlockAccess {