mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-07-05 04:03:56 +00: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:
parent
41279fc159
commit
ea284b6b0f
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue