From 1999f357bc4e31fc5d5d0d894d63d5c7d312fed8 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 16 Feb 2013 10:24:25 +1100 Subject: [PATCH] And chests... --- CraftBukkit-Patches/0019-Add-oreobfuscator-for-Spigot.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CraftBukkit-Patches/0019-Add-oreobfuscator-for-Spigot.patch b/CraftBukkit-Patches/0019-Add-oreobfuscator-for-Spigot.patch index eb5f0e501d..1b39411256 100644 --- a/CraftBukkit-Patches/0019-Add-oreobfuscator-for-Spigot.patch +++ b/CraftBukkit-Patches/0019-Add-oreobfuscator-for-Spigot.patch @@ -1,4 +1,4 @@ -From 3143a832c4b33f687ff42159c04e70b1d1e4ddc9 Mon Sep 17 00:00:00 2001 +From 9431957f1fc3c43421a833933b98259214ccf022 Mon Sep 17 00:00:00 2001 From: lishid Date: Sat, 16 Feb 2013 10:05:25 +1100 Subject: [PATCH] Add oreobfuscator for Spigot. @@ -157,7 +157,7 @@ index 94e07fe..21bd64a 100644 public int cactusGrowthModifier = 100; diff --git a/src/main/java/org/bukkit/craftbukkit/OrebfuscatorManager.java b/src/main/java/org/bukkit/craftbukkit/OrebfuscatorManager.java new file mode 100644 -index 0000000..a93b054 +index 0000000..3e74103 --- /dev/null +++ b/src/main/java/org/bukkit/craftbukkit/OrebfuscatorManager.java @@ -0,0 +1,130 @@ @@ -195,7 +195,7 @@ index 0000000..a93b054 + List blocks = new ArrayList(); + for (int i = 0; i < obfuscateBlocks.length; i++) { + if (obfuscateBlocks[i]) { -+ if (i != Block.STONE.id && i != Block.ENDER_CHEST.id) { ++ if (i != Block.STONE.id && i != Block.CHEST.id && i != Block.ENDER_CHEST.id) { + blocks.add((byte) i); + } + }