mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Be more verbose in handleCrash(Throwable).
This commit is contained in:
parent
781204aa20
commit
243e69649f
1 changed files with 1 additions and 0 deletions
|
@ -667,6 +667,7 @@ public class Essentials extends JavaPlugin implements net.ess3.api.IEssentials {
|
|||
private void handleCrash(Throwable exception) {
|
||||
final PluginManager pm = getServer().getPluginManager();
|
||||
LOGGER.log(Level.SEVERE, exception.toString());
|
||||
exception.printStackTrace();
|
||||
pm.registerEvents(new Listener() {
|
||||
@EventHandler(priority = EventPriority.LOW)
|
||||
public void onPlayerJoin(final PlayerJoinEvent event) {
|
||||
|
|
Loading…
Reference in a new issue