Skip to content
This repository was archived by the owner on Feb 8, 2019. It is now read-only.

Commit 1f631fe

Browse files
committed
関数名を少し変更
1 parent 3b404d0 commit 1f631fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/VectorNetworkProject/TheMix/lib/scoreboard/Scoreboard.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Scoreboard
2323
/**
2424
* @param Player $player
2525
*/
26-
public static function addScoreboard(Player $player): void
26+
public static function addBoard(Player $player): void
2727
{
2828
$packet = new SetDisplayObjectivePacket();
2929
$packet->displayName = "§l§6The §aM§ci§ex§7";
@@ -39,7 +39,7 @@ public static function addScoreboard(Player $player): void
3939
* @param Player $player
4040
* @return bool
4141
*/
42-
public static function hasScoreboard(Player $player): bool
42+
public static function hasBoard(Player $player): bool
4343
{
4444
return (isset(self::$scoreboards[$player->getName()]))
4545
? true
@@ -70,7 +70,7 @@ public static function setLine(Player $player, int $line, string $text): void
7070
/**
7171
* @param Player $player
7272
*/
73-
public static function deleteScoreboard(Player $player): void
73+
public static function removeBoard(Player $player): void
7474
{
7575
$packet = new RemoveObjectivePacket();
7676
$packet->objectiveName = "objective";

0 commit comments

Comments
 (0)