From 748beaaaa70952e354edb5632d163f94288ab5c4 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 9 Oct 2017 09:55:18 +0100 Subject: [PATCH] Changed a couple of very misleading default values why on earth did I do this --- src/pocketmine/Player.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index 1147ddb26..2cbcc9451 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -427,7 +427,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{ return $this->allowMovementCheats; } - public function setAllowMovementCheats(bool $value = false){ + public function setAllowMovementCheats(bool $value = true){ $this->allowMovementCheats = $value; } @@ -435,7 +435,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{ return $this->allowInstaBreak; } - public function setAllowInstaBreak(bool $value = false){ + public function setAllowInstaBreak(bool $value = true){ $this->allowInstaBreak = $value; }