JaTiTV cfd07b01f2 2.7.0_Snapshot-6 | Fix
Fixes:
- If there was a function in the GUI that did not exist, then an error occurred in the console and the GUI could not be opened, this was fixed.
- If you changed the slot of the UseItem, the Protection (RemoveItemWhenItIsDisabled) was ignored and you got the item.
2022-04-21 01:58:54 +02:00

33 lines
1.1 KiB
Java

package de.jatitv.commandguiv2.Spigot.objects.guis;
import de.jatitv.commandguiv2.Spigot.objects.slots.Slot;
import java.util.ArrayList;
public class Gui {
public Boolean guiEnable;
public Integer guiLines;
public String guiName;
public Boolean guiFillItemEnable;
public String guiFillItemItem;
public String key;
public Boolean commandAliasEnable;
public Boolean commandPermissionEnable;
public ArrayList<Slot> slots;
public Gui(Boolean guiEnable, Integer guiLines, String guiName, Boolean guiFillitemEnable, String guiFillitemItem,
String commandCommand, Boolean commandAliasEnable, Boolean commandPermissionEnable, ArrayList<Slot> slots){
this.guiEnable = guiEnable;
this.guiLines = guiLines;
this.guiName = guiName;
this.guiFillItemEnable = guiFillitemEnable;
this.guiFillItemItem = guiFillitemItem;
this.key = commandCommand;
this.commandAliasEnable = commandAliasEnable;
this.commandPermissionEnable = commandPermissionEnable;
this.slots = slots;
}
}