mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
changes
This commit is contained in:
parent
320dc1af88
commit
72bc35a219
4 changed files with 18 additions and 9 deletions
|
|
@ -95,7 +95,7 @@ class PlayerAPI{
|
|||
$message .= " hit the ground too hard";
|
||||
break;
|
||||
case "flying":
|
||||
$message .= " tried to get up to the sky";
|
||||
$message .= " tried to fly up to the sky";
|
||||
break;
|
||||
default:
|
||||
$message .= " died";
|
||||
|
|
@ -176,6 +176,7 @@ class PlayerAPI{
|
|||
if($player !== false){
|
||||
$player->entity->setPosition($x, $y, $z, 0, 0);
|
||||
$player->fallY = false;
|
||||
$player->fallStart = false;
|
||||
$player->dataPacket(MC_MOVE_PLAYER, array(
|
||||
"eid" => 0,
|
||||
"x" => $x,
|
||||
|
|
@ -185,6 +186,7 @@ class PlayerAPI{
|
|||
"pitch" => 0,
|
||||
));
|
||||
$player->fallY = false;
|
||||
$player->fallStart = false;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue