From 52dc8edc393a99947940a2d228da27ba8f2a699c Mon Sep 17 00:00:00 2001 From: SuPaH sPii Date: Tue, 19 Feb 2013 18:58:31 -0600 Subject: [PATCH] Fix falling sand entities with orebfuscator. --- .../0019-Add-oreobfuscator-for-Spigot.patch | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/CraftBukkit-Patches/0019-Add-oreobfuscator-for-Spigot.patch b/CraftBukkit-Patches/0019-Add-oreobfuscator-for-Spigot.patch index 1b39411256..e9db1c480b 100644 --- a/CraftBukkit-Patches/0019-Add-oreobfuscator-for-Spigot.patch +++ b/CraftBukkit-Patches/0019-Add-oreobfuscator-for-Spigot.patch @@ -1,9 +1,10 @@ -From 9431957f1fc3c43421a833933b98259214ccf022 Mon Sep 17 00:00:00 2001 +From d5c3b76249048622b80ea5c21114608fbc07126c Mon Sep 17 00:00:00 2001 From: lishid Date: Sat, 16 Feb 2013 10:05:25 +1100 Subject: [PATCH] Add oreobfuscator for Spigot. --- + .../net/minecraft/server/EntityFallingBlock.java | 1 + src/main/java/net/minecraft/server/Explosion.java | 1 + .../net/minecraft/server/Packet51MapChunk.java | 1 + .../net/minecraft/server/Packet56MapChunkBulk.java | 21 +++- @@ -13,9 +14,21 @@ Subject: [PATCH] Add oreobfuscator for Spigot. .../bukkit/craftbukkit/OrebfuscatorManager.java | 130 +++++++++++++++++++++ src/main/java/org/bukkit/craftbukkit/Spigot.java | 8 ++ src/main/resources/configurations/bukkit.yml | 6 + - 9 files changed, 181 insertions(+), 1 deletion(-) + 10 files changed, 182 insertions(+), 1 deletion(-) create mode 100644 src/main/java/org/bukkit/craftbukkit/OrebfuscatorManager.java +diff --git a/src/main/java/net/minecraft/server/EntityFallingBlock.java b/src/main/java/net/minecraft/server/EntityFallingBlock.java +index ea440dc..e86b10f 100644 +--- a/src/main/java/net/minecraft/server/EntityFallingBlock.java ++++ b/src/main/java/net/minecraft/server/EntityFallingBlock.java +@@ -103,6 +103,7 @@ public class EntityFallingBlock extends Entity { + // CraftBukkit end + + this.world.setTypeId(i, j, k, 0); ++ org.bukkit.craftbukkit.OrebfuscatorManager.updateNearbyBlocks(world, i, j, k); // Spigot (Orebfuscator) + } + + if (this.onGround) { diff --git a/src/main/java/net/minecraft/server/Explosion.java b/src/main/java/net/minecraft/server/Explosion.java index ba2f88f..8d5b1d8 100644 --- a/src/main/java/net/minecraft/server/Explosion.java @@ -325,5 +338,5 @@ index 9d6d613..3228d17 100644 + disabled-worlds: + - world_the_end -- -1.8.1-rc2 +1.7.11.msysgit.1