mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-26 20:55:44 +01:00
Fix TURTLE_HELMET being included in 1.12 and below
This commit is contained in:
parent
11166c8bbe
commit
9d14b76d10
@ -81,7 +81,7 @@ public class GenericEquipper implements Equipper {
|
||||
SpigotUtil.isUsing1_13API() ? Material.GOLDEN_CHESTPLATE : Material.valueOf("GOLD_CHESTPLATE"));
|
||||
private static Set<Material> HELMETS = EnumSet.of(Material.PUMPKIN, Material.JACK_O_LANTERN,
|
||||
Material.LEATHER_HELMET, Material.CHAINMAIL_HELMET, Material.IRON_HELMET, Material.DIAMOND_HELMET,
|
||||
Material.TURTLE_HELMET,
|
||||
SpigotUtil.isUsing1_13API() ? Material.TURTLE_HELMET : Material.LEATHER_HELMET,
|
||||
SpigotUtil.isUsing1_13API() ? Material.GOLDEN_HELMET : Material.valueOf("GOLD_HELMET"));
|
||||
private static Set<Material> LEGGINGS = EnumSet.of(Material.CHAINMAIL_LEGGINGS, Material.DIAMOND_LEGGINGS,
|
||||
Material.IRON_LEGGINGS, Material.LEATHER_LEGGINGS,
|
||||
|
Loading…
Reference in New Issue
Block a user