Skip to content

Commit

Permalink
fixed visit form not working
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicnebula200 committed Feb 20, 2022
1 parent 5d8d5e7 commit 7184167
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function onRun(CommandSender $sender, string $aliasUsed, array $args): vo
$skyblocks = [];
foreach (SkyBlocksPM::getInstance()->getServer()->getOnlinePlayers() as $player)
{
$skyblock = SkyBlocksPM::getInstance()->getSkyBlockManager()->getSkyBlock(SkyBlocksPM::getInstance()->getPlayerManager()->getPlayer($player)->getSkyBlock());
$skyblock = SkyBlocksPM::getInstance()->getSkyBlockManager()->getSkyBlockByUuid(SkyBlocksPM::getInstance()->getPlayerManager()->getPlayer($player)->getSkyBlock());
if ($skyblock instanceof SkyBlock)
$skyblocks[] = $skyblock;
}
Expand Down

0 comments on commit 7184167

Please sign in to comment.