mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-10-31 23:09:19 +00:00
15 lines
601 B
Java
15 lines
601 B
Java
|
package me.StevenLawson.TotalFreedomMod.commands;
|
||
|
|
||
|
import me.StevenLawson.TotalFreedomMod.util.Utilities;
|
||
|
import org.bukkit.command.Command;
|
||
|
import org.bukkit.command.CommandSender;
|
||
|
|
||
|
@CommandPermissions(level = AdminLevel.ALL, source = SourceType.ONLY_IN_GAME)
|
||
|
public class Command_ender extends FreedomCommand {
|
||
|
@Override
|
||
|
public boolean run(CommandSender sender, org.bukkit.entity.Player sender_p, Command cmd, String commandLabel, String[] args, boolean senderIsConsole) {
|
||
|
Utilities.gotoWorld(sender_p, server.getWorlds().get(0).getName() + "_the_end");
|
||
|
return true;
|
||
|
}
|
||
|
}
|