mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-17 16:15:21 +01:00
Update Bukkit to 1.4.7-R0.1
This commit is contained in:
parent
19ccdf2193
commit
a2813358af
@ -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;
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user