Update Bukkit to 1.4.7-R0.1

This commit is contained in:
Iaccidentally 2013-01-17 14:25:19 -05:00
parent 19ccdf2193
commit a2813358af
2 changed files with 3 additions and 2 deletions

View File

@ -9,8 +9,8 @@ import org.bukkit.entity.*;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason;
import org.bukkit.event.entity.*;
import org.bukkit.event.entity.EntityRegainHealthEvent.RegainReason;
import org.bukkit.inventory.ItemStack;

View File

@ -32,7 +32,8 @@ public class Commandunban extends EssentialsCommand
catch (NoSuchFieldException e)
{
final OfflinePlayer player = server.getOfflinePlayer(args[0]);
if (player.isBanned()) {
if (player.isBanned())
{
player.setBanned(false);
sender.sendMessage(_("unbannedPlayer"));
return;