diff --git a/src/BedWars/game/GameListener.php b/src/BedWars/game/GameListener.php index e4498ee..7c80f24 100644 --- a/src/BedWars/game/GameListener.php +++ b/src/BedWars/game/GameListener.php @@ -73,7 +73,7 @@ public function onSignChange(SignChangeEvent $event) : void{ $pos = $sign->getPosition(); $pos_ = $pos->getX() . ":" . $pos->getY() . ":" . $pos->getZ() . ":" . $player->getWorld()->getFolderName(); - foreach ($this->signs[$text->getLine(1)] as $key => $val){ + foreach ($this->plugin->signs[$text->getLine(1)] as $key => $val){ if($val == $pos_){ return; } @@ -540,4 +540,4 @@ public function handlePacket(DataPacketReceiveEvent $event) : void{ } } } -} \ No newline at end of file +}