diff --git a/src/pocketmine/item/Durable.php b/src/pocketmine/item/Durable.php index 22cabb975..f25004797 100644 --- a/src/pocketmine/item/Durable.php +++ b/src/pocketmine/item/Durable.php @@ -76,7 +76,7 @@ abstract class Durable extends Item{ public function setDamage(int $damage) : Item{ if($damage < 0 or $damage > $this->getMaxDurability()){ - throw new \InvalidArgumentException("Damage must be in range 0 - " , $this->getMaxDurability()); + throw new \InvalidArgumentException("Damage must be in range 0 - " . $this->getMaxDurability()); } $this->damage = $damage; return $this;