diff options
author | md_5 <git@md-5.net> | 2016-11-17 12:41:03 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-11-17 12:41:03 +1100 |
commit | c25ddf063a808e3adb749e22017661f403c5fb7e (patch) | |
tree | b2efcff512be12fd3e38cf8c36386148ce6ab4ae /nms-patches/StructureGenerator.patch | |
parent | 51263e97187a84338f89698eef187284055a682a (diff) | |
download | craftbukkit-c25ddf063a808e3adb749e22017661f403c5fb7e.tar craftbukkit-c25ddf063a808e3adb749e22017661f403c5fb7e.tar.gz craftbukkit-c25ddf063a808e3adb749e22017661f403c5fb7e.tar.lz craftbukkit-c25ddf063a808e3adb749e22017661f403c5fb7e.tar.xz craftbukkit-c25ddf063a808e3adb749e22017661f403c5fb7e.zip |
Update to Minecraft 1.11
Diffstat (limited to 'nms-patches/StructureGenerator.patch')
-rw-r--r-- | nms-patches/StructureGenerator.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/nms-patches/StructureGenerator.patch b/nms-patches/StructureGenerator.patch deleted file mode 100644 index 72129e0e..00000000 --- a/nms-patches/StructureGenerator.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- a/net/minecraft/server/StructureGenerator.java -+++ b/net/minecraft/server/StructureGenerator.java -@@ -93,7 +93,7 @@ - return this.c(blockposition) != null; - } - -- protected StructureStart c(BlockPosition blockposition) { -+ protected synchronized StructureStart c(BlockPosition blockposition) { // CraftBukkit - synchronized - Iterator iterator = this.c.values().iterator(); - - while (iterator.hasNext()) { -@@ -115,7 +115,7 @@ - return null; - } - -- public boolean b(World world, BlockPosition blockposition) { -+ public synchronized boolean b(World world, BlockPosition blockposition) { // CraftBukkit - synchronized - this.a(world); - Iterator iterator = this.c.values().iterator(); - -@@ -132,7 +132,7 @@ - return true; - } - -- public BlockPosition getNearestGeneratedFeature(World world, BlockPosition blockposition) { -+ public synchronized BlockPosition getNearestGeneratedFeature(World world, BlockPosition blockposition) { // CraftBukkit - synchronized - this.g = world; - this.a(world); - this.f.setSeed(world.getSeed()); -@@ -194,7 +194,7 @@ - return null; - } - -- protected void a(World world) { -+ protected synchronized void a(World world) { // CraftBukkit - synchronized - if (this.a == null) { - this.a = (PersistentStructure) world.a(PersistentStructure.class, this.a()); - if (this.a == null) { |