Using new GameMode API for command declaration

This commit is contained in:
tastybento 2019-01-16 10:36:44 -08:00
parent 35f2cbe563
commit 8ca438640f

View File

@ -60,8 +60,8 @@ public class AcidIsland extends GameModeAddon {
manager.registerEvents(new AcidEffect(this), this.getPlugin());
manager.registerEvents(new LavaCheck(this), this.getPlugin());
// Register commands
new AcidCommand(this, settings.getAdminCommand());
new AiCommand(this, settings.getIslandCommand());
adminCommand = new AcidCommand(this, settings.getAdminCommand());
playerCommand = new AiCommand(this, settings.getIslandCommand());
// Burn everything
acidTask = new AcidTask(this);
}