mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
0.8.0 partial compatibility
* Not compatible with Creative mode
This commit is contained in:
parent
3d53b9eb3a
commit
ba7c9503d8
5 changed files with 75 additions and 130 deletions
|
|
@ -802,7 +802,7 @@ class Entity extends Position{
|
|||
}
|
||||
|
||||
public function setPosition(Vector3 $pos, $yaw = false, $pitch = false){
|
||||
if($pos instanceof Position){
|
||||
if($pos instanceof Position and $this->level !== $pos->level){
|
||||
$this->level = $pos->level;
|
||||
$this->server->preparedSQL->entity->setLevel->reset();
|
||||
$this->server->preparedSQL->entity->setLevel->clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue