From f29acd3f004223f551e9381ee3bf0d28f690dfb2 Mon Sep 17 00:00:00 2001 From: asofold Date: Wed, 29 Oct 2014 12:09:58 +0100 Subject: [PATCH] Only demand the word "slime" to match for slime blocks. This might help with compatibility, since we don't know how different continuations of Bukkit will name things. --- .../nocheatplus/compat/blocks/init/vanilla/BlocksMC1_8.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/compat/blocks/init/vanilla/BlocksMC1_8.java b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/compat/blocks/init/vanilla/BlocksMC1_8.java index a36436ff..dc4c3d56 100644 --- a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/compat/blocks/init/vanilla/BlocksMC1_8.java +++ b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/compat/blocks/init/vanilla/BlocksMC1_8.java @@ -12,7 +12,7 @@ public class BlocksMC1_8 implements BlockPropertiesSetup { public BlocksMC1_8() { BlockInit.assertMaterialNameMatch(166, "barrier"); - BlockInit.assertMaterialNameMatch(165, "slime", "block"); + BlockInit.assertMaterialNameMatch(165, "slime"); BlockInit.assertMaterialNameMatch(187, "fence", "gate"); BlockInit.assertMaterialNameMatch(176, "banner"); BlockInit.assertMaterialNameMatch(169, "sea", "lantern");