Skip to content

ScoreLens 1.0.1

Compare
Choose a tag to compare
@OneBeuHu OneBeuHu released this 17 Apr 16:00
· 19 commits to main since this release
395c901

Changed the method for creating a scoreboard:

Previously:

$scoreboard = new ScoreBoard("Test", 8, $player);

$scoreboard->setLine(2, "Hello!");
$scoreboard->setLine(5, "This ScoreBoard");
$scoreboard->setLine(6, "was created");
$scoreboard->setLine(7, "with a ScoreLens");

$scoreboard->sendToPlayer();

Now:

$scoreboard = new ScoreBoard("Test", 8);

$scoreboard->setLine(2, "Hello!");
$scoreboard->setLine(5, "This ScoreBoard");
$scoreboard->setLine(6, "was created");
$scoreboard->setLine(7, "with a ScoreLens");

$scoreboard->sendTo($player);