fix use and see perm
This commit is contained in:
parent
7993dca126
commit
3bd0662273
@ -62,10 +62,10 @@ public class Obj_Select {
|
||||
String permUse = yamlConfiguration_gui.getString("Slots." + key + ".Permission.Use");
|
||||
|
||||
Slot slot = new Slot(slotNumber, enable, function, permRequired,
|
||||
Objects.requireNonNull(permSee).replace("[function]", guiFileName).replace("[slot]", String.valueOf(slotNumber))
|
||||
Objects.requireNonNull(permSee).replace("[function]", guiFileName).replace("[slot]", String.valueOf(slotNumber + 1))
|
||||
.replace("[slotname]", key.toLowerCase()),
|
||||
Objects.requireNonNull(permUse).replace("[function]", guiFileName).replace("[slot]", String.valueOf(slotNumber))
|
||||
.replace("[slotname]", key.toLowerCase()));
|
||||
Objects.requireNonNull(permUse).replace("[function]", guiFileName).replace("[slot]", String.valueOf(slotNumber + 1))
|
||||
.replace("[slotname]", key.toLowerCase()));
|
||||
slots.add(slot);
|
||||
}
|
||||
Gui gui = new Gui(guiEnable, guiLines, guiName, guiFillItemEnable, guiFillItemItem,
|
||||
|
Loading…
Reference in New Issue
Block a user