Hello!
I'm making a custom menu for my server, and i just got stuck for like an hour... I need to get player ( the player who is viewing the inventory.
My current code looks like this:
I'm making a custom menu for my server, and i just got stuck for like an hour... I need to get player ( the player who is viewing the inventory.
My current code looks like this:
Code:
public static Inventory pickMenus = Bukkit.createInventory(null, 54, ChatColor.RED + "PICKAXE MENU");
static {
pickMenus.setItem(8, player.getItemInHand());
}