mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
fixed unmount (hopefully one last time)
This commit is contained in:
parent
5f5c2b82de
commit
fb13a6123b
10 changed files with 100 additions and 36 deletions
|
|
@ -24,7 +24,7 @@ class PathFollower{
|
|||
$this->entity->ai->mobController->setMovingTarget($moveX, $moveY, $moveZ, 1.0);
|
||||
if($this->entity->boundingBox->isXYZInsideNS($moveX, $moveY, $moveZ)){
|
||||
++$this->entity->currentIndex;
|
||||
console("next");
|
||||
//console("next");
|
||||
$this->entity->currentNode = null;
|
||||
}
|
||||
|
||||
|
|
@ -35,13 +35,13 @@ class PathFollower{
|
|||
$this->entity->path = null;
|
||||
$this->entity->currentIndex = 0;
|
||||
|
||||
foreach($this->entity->pathEIDS as $eid){
|
||||
/*foreach($this->entity->pathEIDS as $eid){
|
||||
$pk = new RemoveEntityPacket();
|
||||
$pk->eid = $eid;
|
||||
foreach($this->entity->level->players as $player){
|
||||
$player->dataPacket($pk);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue