mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
ported 1.5.2 way of mob movement but broke everything else
This commit is contained in:
parent
8684e3092a
commit
5161d087ba
5 changed files with 169 additions and 93 deletions
|
|
@ -65,8 +65,8 @@ class MobController
|
|||
);
|
||||
}
|
||||
|
||||
while(self::$ADVANCED){
|
||||
if($this->isDangerous($a) || $this->isDangerous($b) || $this->isDangerous($c) || $this->isDangerous($d)){
|
||||
while(self::$ADVANCED){
|
||||
if($this->isDangerous($a) || $this->isDangerous($b) || $this->isDangerous($c) || $this->isDangerous($d)){
|
||||
return false;
|
||||
}
|
||||
$id1 = $this->entity->level->level->getBlockID($xf, $this->entity->y + $oy - 1, $zf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue