@@ -1,4 +1,4 @@
|
||||
From fb9bbf03b51a2dd8d11d94ffb61ae53668b7d3d7 Mon Sep 17 00:00:00 2001
|
||||
From f6c37960464a932e6125c8bd19c8288743eb42ea Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Thu, 27 Jun 2013 17:26:09 +1000
|
||||
Subject: [PATCH] Properly Close Inventories
|
||||
@@ -6,10 +6,10 @@ Subject: [PATCH] Properly Close Inventories
|
||||
Properly close inventories when unloading and switching worlds.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
|
||||
index 96974b4..3fc83e5 100644
|
||||
index a638dba..d0c00db 100644
|
||||
--- a/src/main/java/net/minecraft/server/Chunk.java
|
||||
+++ b/src/main/java/net/minecraft/server/Chunk.java
|
||||
@@ -760,6 +760,15 @@ public class Chunk {
|
||||
@@ -755,6 +755,15 @@ public class Chunk {
|
||||
|
||||
while (iterator.hasNext()) {
|
||||
TileEntity tileentity = (TileEntity) iterator.next();
|
||||
@@ -25,7 +25,7 @@ index 96974b4..3fc83e5 100644
|
||||
|
||||
this.world.a(tileentity);
|
||||
}
|
||||
@@ -769,6 +778,15 @@ public class Chunk {
|
||||
@@ -764,6 +773,15 @@ public class Chunk {
|
||||
java.util.Iterator<Object> iter = this.entitySlices[i].iterator();
|
||||
while (iter.hasNext()) {
|
||||
Entity entity = (Entity) iter.next();
|
||||
|
||||
Reference in New Issue
Block a user