Update Bukkit for 1.3.1 changes
This commit is contained in:
committed by
Travis Watkins
parent
6a53010c0c
commit
110ad8c196
@@ -4,6 +4,7 @@ import org.bukkit.Bukkit;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.command.ConsoleCommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public class SayCommand extends VanillaCommand {
|
||||
public SayCommand() {
|
||||
@@ -30,7 +31,7 @@ public class SayCommand extends VanillaCommand {
|
||||
}
|
||||
}
|
||||
|
||||
if (!(sender instanceof ConsoleCommandSender)) {
|
||||
if (sender instanceof Player) {
|
||||
Bukkit.getLogger().info("[" + sender.getName() + "] " + message);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user