RevivalPMMP / PureEntitiesX

A Revival of the original PureEntities, a plugin which provides MobAI for PMMP - Coming back soon
GNU General Public License v3.0
166 stars 76 forks source link

[BUG:] Squids are recognized as nonexistent #450

Closed supercrafter333 closed 3 years ago

supercrafter333 commented 3 years ago

Squids are recognized as nonexistent.

$mob = PureEntities::getInstance()->scheduleCreatureSpawn($pos, $className::NETWORK_ID, $s->getLevel(), "");
if ($mob instanceof BaseEntity) {
    return true;
} else {
    return false; //will return if you'll spawn a aquid
}

This will return false on spawning a squid.

Pls fix :)