mirror of
https://github.com/songoda/UltimateKits.git
synced 2024-11-02 16:49:34 +01:00
fix
This commit is contained in:
parent
1a0e4d44a8
commit
a410941506
@ -112,7 +112,7 @@ public abstract class AbstractGUI implements Listener {
|
||||
}
|
||||
|
||||
public void init(String title, int slots) {
|
||||
if (inventory == null) {
|
||||
if (inventory == null || inventory.getSize() != slots) {
|
||||
this.inventory = Bukkit.getServer().createInventory(new GUIHolder(), slots, ChatColor.translateAlternateColorCodes('&', title));
|
||||
registerClickables();
|
||||
registerOnCloses();
|
||||
|
Loading…
Reference in New Issue
Block a user