1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-12 01:25:26 +02:00

Let's get to the bottom of this ban error.

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1269 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
zenexer
2011-04-24 01:24:37 +00:00
parent 7d42ad2b87
commit 4e979a6a51

View File

@@ -23,7 +23,8 @@ public class Commandban extends EssentialsCommand
return;
}
try
{
User p = null;
if (server.matchPlayer(args[0]).isEmpty())
{
@@ -39,4 +40,10 @@ public class Commandban extends EssentialsCommand
}
Essentials.getStatic().loadBanList();
}
catch (Throwable ex)
{
ex.printStackTrace();
sender.sendMessage("Error: " + ex);
}
}
}