little comment added

This commit is contained in:
Bea 2020-05-10 19:56:45 +02:00
parent 915257692f
commit bd5b8be487

View File

@ -54,10 +54,12 @@ public class HubThat extends JavaPlugin
SetSpawnCommand setSpawnCommandInstance = new SetSpawnCommand(this); SetSpawnCommand setSpawnCommandInstance = new SetSpawnCommand(this);
WorldListCommand worldListCommandInstance = new WorldListCommand(this); WorldListCommand worldListCommandInstance = new WorldListCommand(this);
WorldTpCommand worldTpCommandInstance = new WorldTpCommand(this); WorldTpCommand worldTpCommandInstance = new WorldTpCommand(this);
UpdateChecker updateCheckerInstance = new UpdateChecker(this);
// We need to instantiate Utils classes because they need to access plugin data and server.
PermissionUtils permissionUtilsInstance = new PermissionUtils(this); PermissionUtils permissionUtilsInstance = new PermissionUtils(this);
TeleportUtils teleportUtilsInstance = new TeleportUtils(this); TeleportUtils teleportUtilsInstance = new TeleportUtils(this);
MessageUtils messageUtilsInstance = new MessageUtils(this); MessageUtils messageUtilsInstance = new MessageUtils(this);
UpdateChecker updateCheckerInstance = new UpdateChecker(this);
updateChecker = new UpdateChecker(this); updateChecker = new UpdateChecker(this);
debugger.sendDebugMessage(Level.INFO, "Done instantiating classes!"); debugger.sendDebugMessage(Level.INFO, "Done instantiating classes!");