AFKGuard allows you to detect even the most tricky AFK machines and cheats, by being fully configurable and accessible!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
747 B

package com.entryrise.afkguard.gui;
import org.bukkit.entity.Player;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
public abstract class GUIItem {
private ItemStack itm;
private int slot;
public ItemStack getItm() {
return itm;
}
public void setItm(ItemStack itm) {
this.itm = itm;
}
public int getSlot() {
return slot;
}
public void setSlot(int slot) {
this.slot = slot;
}
public GUIItem(ItemStack itm, int slot) {
this.setSlot(slot);
this.setItm(itm);
}
public void onLeftClick(Player p, Inventory inv, ItemStack hand) {
}
public void onRightClick(Player p, Inventory inv, ItemStack hand) {
}
public void onMiddleClick(Player p, Inventory inv, ItemStack hand) {
}
}