mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
Plugin version 2, include extra data
This commit is contained in:
parent
c7a3fc4931
commit
ec22034ad7
2 changed files with 18 additions and 3 deletions
|
|
@ -426,6 +426,7 @@ class Entity extends Position{
|
|||
$this->speedY = 0;
|
||||
$this->speedZ = 0;
|
||||
$update = false;
|
||||
$this->server->api->handle("entity.move", $this);
|
||||
$this->server->api->handle("entity.motion", $this);
|
||||
}
|
||||
|
||||
|
|
@ -830,7 +831,7 @@ class Entity extends Position{
|
|||
$this->x = 0;
|
||||
$this->y = -10;
|
||||
$this->z = 0;
|
||||
$this->server->api->dhandle("entity.move", $this);
|
||||
$this->server->api->trigger("entity.move", $this);
|
||||
$this->x = $x;
|
||||
$this->y = $y;
|
||||
$this->z = $z;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue