1 |
torben |
1657 |
package dk.thoerup.bukkit.creativeworld; |
2 |
|
|
|
3 |
|
|
import org.bukkit.ChatColor; |
4 |
|
|
import org.bukkit.command.Command; |
5 |
|
|
import org.bukkit.command.CommandExecutor; |
6 |
|
|
import org.bukkit.command.CommandSender; |
7 |
|
|
|
8 |
|
|
public class GamemodeCommand implements CommandExecutor { |
9 |
|
|
|
10 |
|
|
@Override |
11 |
|
|
public boolean onCommand(final CommandSender sender, Command command, String label, String[] args) { |
12 |
|
|
|
13 |
|
|
sender.sendMessage(ChatColor.RED + "Change of gamemode has been disabled"); |
14 |
|
|
|
15 |
|
|
return true; |
16 |
|
|
} |
17 |
|
|
} |