menu
#4874214 Argument 1 passed to jasonwynn10\VanillaEntityAI\entity\neutral\Item::push() must be an instance of jasonwynn10\VanillaEntityAI\entity\CreatureBase, instance of jasonwynn10\VanillaEntityAI\entity\passive\Villager given

Submitted by PocketMine-MP 3.18.2

General information

Version: 3.18.2
Git commit: 599d5253
Plugin involvement: Direct
Report date: 2021-04-08 08:48:44 +0000 UTC
Server uptime: 0 days 1 hours 59 minutes 51 seconds

System Information

PHP version: 7.3.20
Operating system: linux
System banner: Linux ip135-148-6-172 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64

Error information

Warning: the VanillaEntityAI plugin was directly involved in this crash. Please contact the plugin author.
Message: Argument 1 passed to jasonwynn10\VanillaEntityAI\entity\neutral\Item::push() must be an instance of jasonwynn10\VanillaEntityAI\entity\CreatureBase, instance of jasonwynn10\VanillaEntityAI\entity\passive\Villager given
File: plugins/TeaSpoon1.16-1-1.phar/src/jasonwynn10/VanillaEntityAI/entity/neutral/Item
Line: #39
Error level: TypeError
30
31
32
33
34
35
36
37
38
39
40
41
	}

public function onCollideWithBlock(Block $block) : void {
// TODO: hoppers, pressure plates, tripwire
}

/**
* @param CreatureBase $source
*/
public function push(CreatureBase $source) : void { // cannot be pushed
}
}
#0 plugins/TeaSpoon1.16-1-1.phar/src/jasonwynn10/VanillaEntityAI/entity/CollisionCheckingTrait(25): jasonwynn10\VanillaEntityAI\entity\neutral\Item->push(object jasonwynn10\VanillaEntityAI\entity\passive\Villager)
#1 plugins/TeaSpoon1.16-1-1.phar/src/jasonwynn10/VanillaEntityAI/entity/CollisionCheckingTrait(12): jasonwynn10\VanillaEntityAI\entity\passive\Villager->checkNearEntities()
#2 pmsrc/src/pocketmine/entity/Entity(1393): jasonwynn10\VanillaEntityAI\entity\passive\Villager->entityBaseTick(integer 1)
#3 plugins/TeaSpoon1.16-1-1.phar/src/jasonwynn10/VanillaEntityAI/entity/CollisionCheckingTrait(34): pocketmine\entity\Entity->onUpdate(integer 143702)
#4 pmsrc/src/pocketmine/level/Level(854): jasonwynn10\VanillaEntityAI\entity\passive\Villager->onUpdate(integer 143702)
#5 pmsrc/src/pocketmine/level/Level(787): pocketmine\level\Level->actuallyDoTick(integer 143702)
#6 pmsrc/src/pocketmine/Server(2265): pocketmine\level\Level->doTick(integer 143702)
#7 pmsrc/src/pocketmine/Server(2396): pocketmine\Server->checkTickUpdates(integer 143702, double 1617871724.4298)
#8 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()
#9 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#10 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#11 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[45] /home/minecraft/multicraft/servers/server177/, string[53] /home/minecraft/multicraft/servers/server177/plugins/)
#12 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#13 pmsrc(11): require(string[81] phar:///home/minecraft/multicraft/jar/1.16.100.phar/src/pocketmine/PocketMine.ph)

Loaded Plugins

  • Show

Server Settings

  • Show