2.7.0 #8
@ -62,9 +62,9 @@ public class Obj_Select {
|
|||||||
String permUse = yamlConfiguration_gui.getString("Slots." + key + ".Permission.Use");
|
String permUse = yamlConfiguration_gui.getString("Slots." + key + ".Permission.Use");
|
||||||
|
|
||||||
Slot slot = new Slot(slotNumber, enable, function, permRequired,
|
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()),
|
.replace("[slotname]", key.toLowerCase()),
|
||||||
Objects.requireNonNull(permUse).replace("[function]", guiFileName).replace("[slot]", String.valueOf(slotNumber))
|
Objects.requireNonNull(permUse).replace("[function]", guiFileName).replace("[slot]", String.valueOf(slotNumber + 1))
|
||||||
.replace("[slotname]", key.toLowerCase()));
|
.replace("[slotname]", key.toLowerCase()));
|
||||||
slots.add(slot);
|
slots.add(slot);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user