Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .poggit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
--- # Poggit-CI Manifest. Open the CI at https://poggit.pmmp.io/ci/da123rrell/Alias
branches:
- master
projects:
Alias:
path: ""
...
2 changes: 1 addition & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Alias
version: 2.0
api: [2.0.0]
api: [2.0.0, 3.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0-ALPHA6, 4.0.0]
author: ZacHack
description: Allows users to view all the usernames one user has used
main: Alias\MainClass
Expand Down
2 changes: 1 addition & 1 deletion src/Alias/MainClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function onJoin(PlayerJoinEvent $event){
$ipfile->save();
}
}
public function onCommand(CommandSender $sender, Command $command, $label, array $args){
public function onCommand(CommandSender $sender, Command $command, string $label, array $args): bool{
switch($command->getName()){
case "alias":
if(!isset($args[0])){
Expand Down