Use new API for 1.8 compatibility

This commit is contained in:
fullwall 2021-02-03 23:13:49 +08:00
parent cd436cb6da
commit c28cf09ef3

View File

@ -36,7 +36,7 @@ import net.citizensnpcs.api.trait.trait.Equipment.EquipmentSlot;
filter = InventoryAction.UNKNOWN)
@MenuSlot(
slot = { 0, 1 },
material = Material.ELYTRA,
compatMaterial = { "SHIELD", "AIR" },
lore = "Place offhand item below",
amount = 1,
filter = InventoryAction.UNKNOWN)