Skip to content

Commit

Permalink
Added /is alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Vecnavium committed Mar 6, 2022
1 parent 718fbdd commit ff8ed82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ messages:
no-sb: 'You do not have a SkyBlock Island to use the command.'
not-registered: 'The player you have specified does not exist.'
no-island: 'The specified player does not own an island.'
no-default-island: "The default island has not been set, please ask the server staff to use '/is setworld' command to set the island world"
no-default-island: "The default island has not been set, please ask the server staff to use '/sb setworld' command to set the island world"
no-sb-go: 'You do not own a SkyBlock island'
no-perms-delete: "You do not have the permission to delete other SkyBlock islands."
deleted-sb: "You have successfully deleted {NAME}'s SkyBlock Island."
Expand Down
2 changes: 1 addition & 1 deletion src/Vecnavium/SkyBlocksPM/SkyBlocksPM.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function onEnable(): void
$this->playerManager = new PlayerManager();
$this->SkyBlockManager = new SkyBlockManager();
$this->inviteManager = new InviteManager();
$this->getServer()->getCommandMap()->register('SkyBlocksPM', new SkyBlockCommand($this, 'skyblock', 'The core command for SkyBlocks', ['sb']));
$this->getServer()->getCommandMap()->register('SkyBlocksPM', new SkyBlockCommand($this, 'skyblock', 'The core command for SkyBlocks', ['sb', 'is']));
@mkdir($this->getDataFolder() . "cache");
@mkdir($this->getDataFolder() . "cache/island");
}
Expand Down

0 comments on commit ff8ed82

Please sign in to comment.