Update Bukkit for 1.3.1 changes

This commit is contained in:
feildmaster
2012-07-29 02:34:09 -05:00
committed by Travis Watkins
parent 6a53010c0c
commit 110ad8c196
31 changed files with 416 additions and 149 deletions

View File

@@ -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);
}