From b41626cf7817e9eda76ea2f8a2d99944c5d34534 Mon Sep 17 00:00:00 2001 From: LexManos Date: Fri, 28 Sep 2012 00:02:21 -0700 Subject: [PATCH] Forgot comment, you see nothing... --- patches/common/net/minecraft/src/PlayerInstance.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/common/net/minecraft/src/PlayerInstance.java.patch b/patches/common/net/minecraft/src/PlayerInstance.java.patch index 8e8ebfda2..26663f7f9 100644 --- a/patches/common/net/minecraft/src/PlayerInstance.java.patch +++ b/patches/common/net/minecraft/src/PlayerInstance.java.patch @@ -17,7 +17,7 @@ - List var5 = PlayerManager.getWorldServer(this.myManager).getAllTileEntityInBox(var1, var4, var2, var1 + 16, var4 + 16, var2 + 16); + //BugFix: 16 makes it load an extra chunk, which isn't associated with a player, which makes it not unload unless a player walks near it. + //ToDo: Find a way to efficiently clean abandoned chunks. -+ List var5 = PlayerManager.getWorldServer(this.myManager).getAllTileEntityInBox(var1, var4, var2, var1 + 15, var4 + 16, var2 + 15); ++ //List var5 = PlayerManager.getWorldServer(this.myManager).getAllTileEntityInBox(var1, var4, var2, var1 + 16, var4 + 16, var2 + 16); + List var5 = PlayerManager.getWorldServer(this.myManager).getAllTileEntityInBox(var1, var4, var2, var1 + 15, var4 + 16, var2 + 15); Iterator var6 = var5.iterator();