summaryrefslogtreecommitdiffstats
path: root/nms-patches/World.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/World.patch')
-rw-r--r--nms-patches/World.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/nms-patches/World.patch b/nms-patches/World.patch
index 52a949d4..57db4a9e 100644
--- a/nms-patches/World.patch
+++ b/nms-patches/World.patch
@@ -1,5 +1,5 @@
---- ../work/decompile-8eb82bde//net/minecraft/server/World.java 2014-11-29 21:08:51.989028346 +0000
-+++ src/main/java/net/minecraft/server/World.java 2014-11-29 21:07:57.617029552 +0000
+--- ../work/decompile-8eb82bde//net/minecraft/server/World.java 2014-11-29 21:17:20.461017061 +0000
++++ src/main/java/net/minecraft/server/World.java 2014-11-29 21:17:07.617017346 +0000
@@ -13,6 +13,22 @@
import java.util.UUID;
import java.util.concurrent.Callable;
@@ -53,7 +53,7 @@
+ while( blockStateIterator.hasNext() ) {
+ BlockState blockState1 = blockStateIterator.next();
+ if ( blockState1.getLocation().equals( blockState.getLocation() ) ) {
-+ blockStateIterator.remove();
++ return false;
+ }
+ }
+
@@ -141,7 +141,7 @@
if (iblockdata1 == null) {
+ // CraftBukkit start - remove blockstate if failed
-+ if (!this.captureBlockStates) {
++ if (this.captureBlockStates) {
+ this.capturedBlockStates.remove(blockstate);
+ }
+ // CraftBukkit end