PocketMine Crash Archive

#29712754 Invalid argument error

Submitted by PocketMine-Steadfast 1.5.1-hybrid

General information

Version: 1.5.1
API version: 1.12.0
Caused by a Plugin: Not directly
Report date: Saturday 17/08/2019 22:38:37
Attached Issue: None

System Information

PHP version: 7.2.13
Operating system: linux
System banner: Linux hydrahost.ru 3.16.0-6-amd64 #1 SMP Debian 3.16.56-1+deb8u1 (2018-05-08) x86_64

Error information

Argument 2 passed to pocketmine/entity/Entity::createEntity() must implement interface pocketmine/level/format/FullChunk, null given, called in src/NPC/Main.php on line 175
File: /src/pocketmine/entity/Entity
Line: #499
Error level: notice

[490] 
[491] 	/**
[492] 	 * @param int|string $type
[493] 	 * @param FullChunk  $chunk
[494] 	 * @param Compound   $nbt
[495] 	 * @param            $args
[496] 	 *
[497] 	 * @return Entity
[498] 	 */
[499] 	public static function createEntity($type, FullChunk $chunk, Compound $nbt, ...$args) {
[500] 		if(isset(self::$knownEntities[$type])){
[501] 			$class = self::$knownEntities[$type];
[502] 			return new $class($chunk, $nbt, ...$args);
[503] 		}
[504] 		return null;
[505] 	}
[506] 
[507] 	public static function registerEntity($className, $force = false) {
[508] 		$class = new \ReflectionClass($className);
[509] 		if (is_a($className, Entity::class, true) && !$class->isAbstract()) {
#0 /NPC_1/src/NPC/Main(154): NPC\Main->spawn(boolean)
#1 /src/pocketmine/plugin/MethodEventExecutor(36): NPC\Main->PlayerJoinEvent(pocketmine\event\player\PlayerJoinEvent object)
#2 /src/pocketmine/plugin/RegisteredListener(96): pocketmine\plugin\MethodEventExecutor->execute(NPC\Main object, pocketmine\event\player\PlayerJoinEvent object)
#3 /src/pocketmine/plugin/PluginManager(696): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerJoinEvent object)
#4 /src/pocketmine/Player(867): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerJoinEvent object)
#5 /src/pocketmine/Player(1432): pocketmine\Player->sendNextChunk(boolean)
#6 /src/pocketmine/level/Level(596): pocketmine\Player->onUpdate(integer 5142)
#7 /src/pocketmine/Server(2358): pocketmine\level\Level->doTick(integer 5142)
#8 /src/pocketmine/Server(2484): pocketmine\Server->checkTickUpdates(integer 5142)
#9 /src/pocketmine/Server(2262): pocketmine\Server->tick(boolean)
#10 /src/pocketmine/Server(2136): pocketmine\Server->tickProcessor(boolean)
#11 /src/pocketmine/Server(1738): pocketmine\Server->start(boolean)
#12 /src/pocketmine/PocketMine(459): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/gs226/PocketMine-MP.phar/, string /home/gs226/, string /home/gs226/plugins/)
#13 (1): require_once(string phar:///home/gs226/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

NameVersionStateAuthor(s)
SimpleAuth1.7.1EnabledPocketMine Team, shoghicp
NoCheatPlus1.0.0Enabled
MyParticle1.0.1EnabledZzm
NPC1.0Enabled
BroadcastDonate1.0Enabled
Broadcaster1.14EnabledEvolSoft
aFloatingText1.2EnabledAlexBrin
OnlineGuard1.0Enabled
EconomyAPI2.0.9Enabledonebone
SexGuard1.1.6Enabledsex_KAMAZ
PurePerms1.3.7Enabled64FF00 & ProjectInfinity
JoinMOTD1.0Enabled
EssentialsPE2.0.0EnabledLegendsOfMCPE Team
HackAdmin1.0Enabled
KitPlus1.0Enabled
PureChat1.4.0Enabled64FF00

Server Settings [toggle]

NameValue
server-name§l§eTest§r
server-port25565
memory-limit512M
gamemode0
max-players100
spawn-protection99999
white-listoff
enable-queryon
enable-rconon
motd§l§eTest§r
announce-player-achievementson
allow-flightoff
spawn-animalson
spawn-mobson
server-ip0.0.0.0
force-gamemode0
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameworld
level-seed
level-typeDEFAULT
auto-saveon
redstone-calculationon
disable-logfileoff
rcon.password******
rcon.port25565
online-modeoff
view-distance8
animals-limit0
mobs-limit0
auto-generateoff
save-player-dataoff
time-updateon
use-encryptoff
Find duplicates  |   Download