Skip to content
This repository has been archived by the owner. It is now read-only.

Call isSurvival() method from the mobs #311

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

Call isSurvival() method from the mobs #311

BI0MER opened this issue May 28, 2018 · 1 comment
Assignees

Comments

@BI0MER
Copy link

@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
Copy link
Collaborator

@95CivicSi 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants