update to v2.2.0

This commit is contained in:
Xanadu13
2023-08-25 21:58:25 +08:00
committed by GitHub
parent 4913a2c4f8
commit c1211c5155
22 changed files with 1898 additions and 0 deletions
@@ -0,0 +1,21 @@
package pers.xanadu.enderdragon.gui.slot;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.inventory.ItemStack;
import pers.xanadu.enderdragon.gui.GUISlotType;
public class PageJumpSlot extends TipSlot{
private final String name;
public String getGuiName() {
return this.name;
}
public PageJumpSlot(ConfigurationSection section) {
super(GUISlotType.PAGE_JUMP, section);
this.name = section.getString("gui");
}
@Override
public ItemStack getItemOnDisable(){
return this.itemOnDisable;
}
}