mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 18:45:29 +01:00
More 1.8.8 compatibility
This commit is contained in:
parent
ffef42efb7
commit
d9e7ec4ca3
@ -595,7 +595,7 @@ public class ShopTrait extends Trait {
|
||||
ctx.getMenu().transition(new NPCShopContentsEditor(shop));
|
||||
}
|
||||
|
||||
@MenuSlot(slot = { 0, 2 }, material = Material.OAK_SIGN, amount = 1)
|
||||
@MenuSlot(slot = { 0, 2 }, compatMaterial = { "OAK_SIGN", "SIGN" }, amount = 1)
|
||||
public void onPermissionChange(InventoryMenuSlot slot, CitizensInventoryClickEvent event) {
|
||||
ctx.getMenu().transition(InputMenus.stringSetter(shop::getRequiredPermission, shop::setPermission));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user