From 5671023f50c794b3d7e71672030b129193f6b0cf Mon Sep 17 00:00:00 2001 From: poggit-bot Date: Mon, 11 Sep 2017 15:01:44 +0100 Subject: [PATCH 1/5] Create .poggit.yml Poggit-CI is enabled for this repo by @ZPlayzMCPE Visit the Poggit-CI page for this repo at https://poggit.pmmp.io/ci/ZPlayzMCPE/VoteReward --- .poggit.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .poggit.yml diff --git a/.poggit.yml b/.poggit.yml new file mode 100644 index 0000000..c43844e --- /dev/null +++ b/.poggit.yml @@ -0,0 +1,7 @@ +--- # Poggit-CI Manifest. Open the CI at https://poggit.pmmp.io/ci/ZPlayzMCPE/VoteReward +branches: +- master +projects: + VoteReward: + path: "" +... From 4d93cc606a65493f015281e9863c5f2c8309bdc0 Mon Sep 17 00:00:00 2001 From: poggit-bot Date: Mon, 11 Sep 2017 15:04:11 +0100 Subject: [PATCH 2/5] Create .poggit.yml Poggit-CI is enabled for this repo by @ZPlayzMCPE Visit the Poggit-CI page for this repo at https://poggit.pmmp.io/ci/ZPlayzMCPE/VoteReward --- .poggit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.poggit.yml b/.poggit.yml index c43844e..a8e4d38 100644 --- a/.poggit.yml +++ b/.poggit.yml @@ -1,6 +1,6 @@ --- # Poggit-CI Manifest. Open the CI at https://poggit.pmmp.io/ci/ZPlayzMCPE/VoteReward branches: -- master +- patch-1 projects: VoteReward: path: "" From b12f362972b453ad3ee4fa54611e34f819ee464b Mon Sep 17 00:00:00 2001 From: ZPlayzMCPE Date: Mon, 25 Sep 2017 13:02:27 +0100 Subject: [PATCH 3/5] Update plugin.yml --- plugin.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.yml b/plugin.yml index 5225f34..1fafcbd 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,7 +1,7 @@ name: VoteReward main: LDX\VoteReward\Main version: 3.0.2 -api: [1.12.0, 2.0.0] +api: [1.12.0, 2.0.0, 3.0.0, 3.0.1] author: LDX website: "http://votereward.mcpe.me" load: POSTWORLD @@ -24,4 +24,4 @@ permissions: description: "Allows access to using the vote command." votereward.command.reload: default: op - description: "Allows access to the vote reload subcommand." \ No newline at end of file + description: "Allows access to the vote reload subcommand." From 8ed207b5889933be4eb1feabb4ba7e2d654da1a1 Mon Sep 17 00:00:00 2001 From: ZPlayzMCPE Date: Mon, 25 Sep 2017 13:15:36 +0100 Subject: [PATCH 4/5] Update Main.php --- src/LDX/VoteReward/Main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LDX/VoteReward/Main.php b/src/LDX/VoteReward/Main.php index b28f404..b829280 100644 --- a/src/LDX/VoteReward/Main.php +++ b/src/LDX/VoteReward/Main.php @@ -65,7 +65,7 @@ public function reload() { $this->debug = isset($config["Debug"]) && $config["Debug"] === true ? true : false; } - public function onCommand(CommandSender $sender, Command $command, $label, array $args) { + public function onCommand(CommandSender $sender, Command $command, string $label, array $args) : bool { switch(strtolower($command->getName())) { case "vote": if(isset($args[0]) && strtolower($args[0]) == "reload") { @@ -155,4 +155,4 @@ public function rewardPlayer($player, $multiplier) { $player->sendMessage("[VoteReward] You voted on $multiplier server list" . ($multiplier == 1 ? "" : "s") . "!"); } -} \ No newline at end of file +} From ac5aa352eee2e3bf1611a2d47dc78f42e115418d Mon Sep 17 00:00:00 2001 From: ZPlayzMCPE Date: Mon, 25 Sep 2017 13:17:32 +0100 Subject: [PATCH 5/5] Fixed. And updated to Prismarine. --- .poggit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.poggit.yml b/.poggit.yml index a8e4d38..63a1520 100644 --- a/.poggit.yml +++ b/.poggit.yml @@ -1,7 +1,7 @@ --- # Poggit-CI Manifest. Open the CI at https://poggit.pmmp.io/ci/ZPlayzMCPE/VoteReward branches: -- patch-1 +- master projects: - VoteReward: + VoteReward-Prismarine: path: "" ...