2018-01-22 13:58:00 +01:00
|
|
|
package com.earth2me.essentials.commands;
|
|
|
|
|
|
|
|
import com.earth2me.essentials.User;
|
|
|
|
import org.bukkit.Server;
|
|
|
|
|
2018-01-22 15:16:11 +01:00
|
|
|
public class Commanddisposal extends EssentialsCommand {
|
2018-01-22 13:58:00 +01:00
|
|
|
|
2018-01-22 15:16:11 +01:00
|
|
|
public Commanddisposal() {
|
2018-01-22 13:58:00 +01:00
|
|
|
super("disposal");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2020-10-03 19:46:05 +02:00
|
|
|
protected void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception {
|
2024-02-03 21:38:14 +01:00
|
|
|
user.sendTl("openingDisposal");
|
|
|
|
user.getBase().openInventory(ess.getServer().createInventory(user.getBase(), 36, user.playerTl("disposal")));
|
2018-01-22 13:58:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|