Using the exception listener here as well
This commit is contained in:
parent
72eec3e240
commit
d2a302061f
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue