mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-12 17:45:08 +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:
@@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user