mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Cleaned up bool comparison mess
This commit is contained in:
@ -53,7 +53,7 @@ class Chest extends Spawnable implements InventoryHolder, Container, Nameable{
|
||||
}
|
||||
|
||||
public function close() : void{
|
||||
if($this->closed === false){
|
||||
if(!$this->closed){
|
||||
$this->inventory->removeAllViewers(true);
|
||||
|
||||
if($this->doubleInventory !== null){
|
||||
|
Reference in New Issue
Block a user