Resolve memory leak involving TileEntities
Their chunk is set to null before removal, so we kept them around.
This commit is contained in:
@@ -10,7 +10,7 @@ This made the Bukkit RecipeChoice API not work for Shapeless.
|
||||
This reimplements vanilla logic using the same test logic as Shaped
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/ShapelessRecipes.java b/src/main/java/net/minecraft/server/ShapelessRecipes.java
|
||||
index 070fc1e3e..691e697d6 100644
|
||||
index 070fc1e3ec..691e697d68 100644
|
||||
--- a/src/main/java/net/minecraft/server/ShapelessRecipes.java
|
||||
+++ b/src/main/java/net/minecraft/server/ShapelessRecipes.java
|
||||
@@ -0,0 +0,0 @@ public class ShapelessRecipes implements RecipeCrafting {
|
||||
|
||||
Reference in New Issue
Block a user