mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-06 11:00:43 +01: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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
User p = null;
|
User p = null;
|
||||||
if (server.matchPlayer(args[0]).isEmpty())
|
if (server.matchPlayer(args[0]).isEmpty())
|
||||||
{
|
{
|
||||||
@ -39,4 +40,10 @@ public class Commandban extends EssentialsCommand
|
|||||||
}
|
}
|
||||||
Essentials.getStatic().loadBanList();
|
Essentials.getStatic().loadBanList();
|
||||||
}
|
}
|
||||||
|
catch (Throwable ex)
|
||||||
|
{
|
||||||
|
ex.printStackTrace();
|
||||||
|
sender.sendMessage("Error: " + ex);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user