mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
tweaks to inv to make it better on serverside, fixed eattile, spiders are a bit faster
This commit is contained in:
parent
e28498c4c2
commit
89717f86a4
4 changed files with 32 additions and 31 deletions
|
|
@ -15,11 +15,11 @@ class TaskEatTileGoal extends TaskBase
|
|||
|
||||
public function onUpdate(EntityAI $ai)
|
||||
{
|
||||
if($ai->isStarted("TaskEatTileGoal")){
|
||||
if($ai->isStarted("TaskPanic")){
|
||||
$this->reset();
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (--$this->selfCounter == 4)
|
||||
{
|
||||
$id = $ai->entity->level->level->getBlockID($ai->entity->x, $ai->entity->y, $ai->entity->z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue