Using the exception listener here as well

This commit is contained in:
Norbi Peti 2016-11-02 18:39:16 +01:00
parent 72eec3e240
commit d2a302061f

View file

@ -68,7 +68,7 @@ public class PluginMain extends JavaPlugin { // Translated to Java: 2015.07.15.
public void onEnable() {
Instance = this;
getServer().getPluginManager().registerEvents(new PlayerListener(), this);
TBMCCoreAPI.RegisterEventsForExceptions(new PlayerListener(), this);
TBMCChatAPI.AddCommands(this, YeehawCommand.class);
Console = this.getServer().getConsoleSender();
LoadFiles();