From dc3f13cd304026bc734a73334770c9e250013171 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 17 Aug 2017 09:42:00 +0100 Subject: [PATCH] Cleanup from previous commit --- src/pocketmine/tile/Chest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/tile/Chest.php b/src/pocketmine/tile/Chest.php index be1344933..fb66179a4 100644 --- a/src/pocketmine/tile/Chest.php +++ b/src/pocketmine/tile/Chest.php @@ -213,7 +213,7 @@ class Chest extends Spawnable implements InventoryHolder, Container, Nameable{ } public function isPaired(){ - return !(!isset($this->namedtag->pairx) or !isset($this->namedtag->pairz)); + return isset($this->namedtag->pairx) and isset($this->namedtag->pairz); } /**