From b2bcfb12fd66f6b716c37a82c48fca573d43122e Mon Sep 17 00:00:00 2001 From: ProSavage Date: Thu, 11 Oct 2018 16:38:01 -0500 Subject: [PATCH] Disabled banner setting if mc version is 1.7 --- src/main/java/com/massivecraft/factions/P.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/P.java b/src/main/java/com/massivecraft/factions/P.java index 376e7d9f..f29c6fbb 100644 --- a/src/main/java/com/massivecraft/factions/P.java +++ b/src/main/java/com/massivecraft/factions/P.java @@ -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");