Disabled banner setting if mc version is 1.7

This commit is contained in:
ProSavage 2018-10-11 16:38:01 -05:00
parent 934169bf6a
commit b2bcfb12fd

View File

@ -259,7 +259,9 @@ public class P extends MPlugin {
FIREBALL = Material.valueOf("LEGACY_FIREBALL");
} else {
BANNER = Material.valueOf("BANNER");
if (!mc17) {
BANNER = Material.valueOf("BANNER");
}
CROPS = Material.valueOf("CROPS");
SUGAR_CANE_BLOCK = Material.valueOf("SUGAR_CANE_BLOCK");
REDSTONE_LAMP_ON = Material.valueOf("REDSTONE_LAMP_ON");