Cleanup various aspects of code, fix some formatting, more netbeans 7.4 stuff

This commit is contained in:
Iaccidentally 2013-11-06 21:22:32 -05:00
parent d5196e31b2
commit 3e725ef060
65 changed files with 432 additions and 443 deletions

View file

@ -17,19 +17,6 @@ public class Commandremove extends EssentialsCommand
super("remove");
}
private enum ToRemove
{
DROPS,
ARROWS,
BOATS,
MINECARTS,
XP,
PAINTINGS,
ITEMFRAMES,
ENDERCRYSTALS
}
@Override
protected void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception
{
@ -105,7 +92,7 @@ public class Commandremove extends EssentialsCommand
removeEntities(sender, world, toRemove, 0);
}
protected void removeEntities(final CommandSource sender, final World world, final ToRemove toRemove, int radius) throws Exception
private void removeEntities(final CommandSource sender, final World world, final ToRemove toRemove, int radius) throws Exception
{
int removed = 0;
if (radius > 0)
@ -191,4 +178,17 @@ public class Commandremove extends EssentialsCommand
}
sender.sendMessage(_("removed", removed));
}
private enum ToRemove
{
DROPS,
ARROWS,
BOATS,
MINECARTS,
XP,
PAINTINGS,
ITEMFRAMES,
ENDERCRYSTALS
}
}