Skip to content

Commit

Permalink
Merge pull request #34 from Laith98Dev/patch-1
Browse files Browse the repository at this point in the history
Update GameListener.php
  • Loading branch information
boi1216 authored Apr 5, 2022
2 parents 504d0bd + b5ee9e7 commit 035530b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BedWars/game/GameListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -540,4 +540,4 @@ public function handlePacket(DataPacketReceiveEvent $event) : void{
}
}
}
}
}

0 comments on commit 035530b

Please sign in to comment.