Resolve memory leak involving TileEntities
Their chunk is set to null before removal, so we kept them around.
This commit is contained in:
@@ -24,7 +24,7 @@ Instead we opt to remove the check entirely so that the event fires for
|
||||
all piston types.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/BlockPiston.java b/src/main/java/net/minecraft/server/BlockPiston.java
|
||||
index 141006e36..78603d2cb 100644
|
||||
index 141006e36e..78603d2cb5 100644
|
||||
--- a/src/main/java/net/minecraft/server/BlockPiston.java
|
||||
+++ b/src/main/java/net/minecraft/server/BlockPiston.java
|
||||
@@ -0,0 +0,0 @@ public class BlockPiston extends BlockDirectional {
|
||||
|
||||
Reference in New Issue
Block a user