New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call isSurvival() method from the mobs #311

Closed
BI0MER opened this Issue May 28, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@BI0MER

BI0MER commented May 28, 2018

Required Information

PocketMine-MP Version: 1.7dev-1001 "[REDACTED]" (API 3.0.0-ALPHA12)
Plugin Version: b8e7c25
Where you got the plugin: https://github.com/RevivalPMMP/PureEntitiesX

Optional Information

PHP version: 7.2.2
Other Installed Plugins: DevTools v1.12.10
OS Version: Debian 8

Steps to reproduce the issue.

  1. Wait for the spawn of a hostile mob
  2. Wait until he starts attacking you

Description

Maybe when mobs try to attack a player


[15:50:48] [Server thread/CRITICAL]: Could not tick level "world": Call to undefined method revivalpmmp\pureentities\entity\monster\walking\Creeper::isSurvival()
[15:50:48] [Server thread/CRITICAL]: Error: "Call to undefined method revivalpmmp\pureentities\entity\monster\walking\Creeper::isSurvival()" (EXCEPTION) in "plugins/PureEntitiesX_source/src/revivalpmmp/pureentities/entity/monster/WalkingMonster" at line 72
[15:50:48] [Server thread/DEBUG]: #0 plugins/PureEntitiesX_source/src/revivalpmmp/pureentities/entity/monster/WalkingMonster(190): revivalpmmp\pureentities\entity\monster\WalkingMonster->checkAndAttackEntity(revivalpmmp\pureentities\entity\monster\walking\Creeper object)
[15:50:48] [Server thread/DEBUG]: #1 src/pocketmine/level/Level(762): revivalpmmp\pureentities\entity\monster\WalkingMonster->onUpdate(integer 46930)
[15:50:48] [Server thread/DEBUG]: #2 src/pocketmine/Server(2349): pocketmine\level\Level->doTick(integer 46930)
[15:50:48] [Server thread/DEBUG]: #3 src/pocketmine/Server(2507): pocketmine\Server->checkTickUpdates(integer 46930, double 1527511848.9913)
[15:50:48] [Server thread/DEBUG]: #4 src/pocketmine/Server(2243): pocketmine\Server->tick()
[15:50:48] [Server thread/DEBUG]: #5 src/pocketmine/Server(2119): pocketmine\Server->tickProcessor()
[15:50:48] [Server thread/DEBUG]: #6 src/pocketmine/Server(1701): pocketmine\Server->start()
[15:50:48] [Server thread/DEBUG]: #7 src/pocketmine/PocketMine(305): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /root/test/, string /root/test/plugins/)

@95CivicSi 95CivicSi self-assigned this May 28, 2018

@95CivicSi

This comment has been minimized.

Collaborator

95CivicSi commented May 28, 2018

I'll fix this shortly. Right now, I would recommend using the released version of PureEntitiesX.

@95CivicSi 95CivicSi closed this in cd06a44 Jun 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment