Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.keago.gui.ui;
- import org.bukkit.Bukkit;
- import org.bukkit.entity.Player;
- import org.bukkit.inventory.Inventory;
- import me.keago.gui.utils.Utils;
- public class TestUi {
- public static Inventory inv;
- public static String inventory_name;
- public static int inv_rows = 4 * 9;
- public static void initialize() {
- inventory_name = Utils.chat("&5&lKits");
- inv = Bukkit.createInventory(null, inv_rows);
- }
- public static Inventory GUI (Player p) {
- Inventory tokenturn = Bukkit.createInventory(null, inv_rows, inventory_name);
- toReturn.setContents(inv.getContents());
- return toRuturn;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment