25 lines
535 B
Java
25 lines
535 B
Java
package com.rsscripting.rswarehouse.deposit;
|
|
|
|
import org.bukkit.Bukkit;
|
|
import org.bukkit.entity.Player;
|
|
import org.bukkit.inventory.Inventory;
|
|
|
|
public final class DepositInventory {
|
|
|
|
private static final String TITLE = "Warehouse Deposit";
|
|
|
|
private DepositInventory() {
|
|
}
|
|
|
|
public static void open(Player player) {
|
|
|
|
Inventory inventory = Bukkit.createInventory(
|
|
new DepositInventoryHolder(),
|
|
54,
|
|
TITLE
|
|
);
|
|
|
|
player.openInventory(inventory);
|
|
}
|
|
|
|
} |