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.
This commit is contained in:
asofold 2014-10-29 12:09:58 +01:00
parent 4eaa46342a
commit f29acd3f00

View File

@ -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");