Skip to content
This repository was archived by the owner on Oct 23, 2021. It is now read-only.

Commit

Permalink
Use sendDataPacket() instead of dataPacket()
Browse files Browse the repository at this point in the history
  • Loading branch information
PresentKim committed Aug 3, 2018
1 parent 525fc01 commit 0d0da72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kim/present/showcoordinates/ShowCoordinates.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ public final static function setShowCoordinates(Player $player, bool $whether){
$pk->gameRules = [
"showcoordinates" => [1, $whether]
];
$player->dataPacket($pk);
$player->sendDataPacket($pk);
}
}

0 comments on commit 0d0da72

Please sign in to comment.