PocketMine Crash Archive

#29778483 Invalid argument error

Submitted by Hydracon-PM 1.6.2dev

General information

Version: 1.6.2dev
API version: 3.0.0-ALPHA5
Caused by a Plugin: Not directly
Report date: Friday 06/05/2022 04:03:46
Attached Issue: None

System Information

PHP version: 7.0.3
Operating system: linux
System banner: Linux 8cb76581-c614-4145-b0e5-528cd5147dc5 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64

Error information

Argument 1 passed to pocketmine/Player::dataPacket() must be an instance of pocketmine/network/mcpe/protocol/DataPacket, instance of pocketmine/network/protocol/AddPlayerPacket given, called in src/slapper/entities/SlapperHuman.php on line 34
File: /src/pocketmine/Player
Line: #1062
Error level: notice

[1053] 
[1054] 	/**
[1055] 	 * Sends an ordered DataPacket to the send buffer
[1056] 	 *
[1057] 	 * @param DataPacket $packet
[1058] 	 * @param bool       $needACK
[1059] 	 *
[1060] 	 * @return int|bool
[1061] 	 */
[1062] 	public function dataPacket(DataPacket $packet, $needACK = false){
[1063] 		if(!$this->connected){
[1064] 			return false;
[1065] 		}
[1066] 
[1067] 		//Basic safety restriction. TODO: improve this
[1068] 		if(!$this->loggedIn and !$packet->canBeSentBeforeLogin()){
[1069] 			throw new \InvalidArgumentException("Attempted to send " . get_class($packet) . " to " . $this->getName() . " too early");
[1070] 		}
[1071] 
[1072] 		$timings = Timings::getSendDataPacketTimings($packet);
#0 /Slapper_PHP7.phar/src/slapper/entities/SlapperHuman(34): pocketmine\Player->dataPacket(pocketmine\network\protocol\AddPlayerPacket object)
#1 /src/pocketmine/Player(820): slapper\entities\SlapperHuman->spawnTo(kitkb\Player\KitKbPlayer KitKbPlayer(6))
#2 /src/pocketmine/level/Level(2428): pocketmine\Player->sendChunk(integer -1, integer 0, pocketmine\network\mcpe\protocol\BatchPacket object)
#3 /src/pocketmine/level/format/io/ChunkRequestTask(88): pocketmine\level\Level->chunkRequestCallback(integer -1, integer 0, pocketmine\network\mcpe\protocol\BatchPacket object)
#4 /src/pocketmine/scheduler/AsyncPool(158): pocketmine\level\format\io\ChunkRequestTask->onCompletion(pocketmine\Server object)
#5 /src/pocketmine/scheduler/ServerScheduler(339): pocketmine\scheduler\AsyncPool->collectTasks(boolean)
#6 /src/pocketmine/Server(2414): pocketmine\scheduler\ServerScheduler->mainThreadHeartbeat(integer 5348)
#7 /src/pocketmine/Server(2182): pocketmine\Server->tick(boolean)
#8 /src/pocketmine/Server(2064): pocketmine\Server->tickProcessor(boolean)
#9 /src/pocketmine/Server(1646): pocketmine\Server->start(boolean)
#10 /src/pocketmine/PocketMine(501): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/container/PocketMine-MP.phar/, string /home/container/, string /home/container/plugins/)
#11 (1): require_once(string phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

NameVersionStateAuthor(s)
Slapper1.2.9.4_PHP7Enabledjojoe77777
Fly1EnabledTheZaxs70
FxFBW2.0.0DisabledFraidxFoRSeS
StaffChat1.0Enabledrirpass
CmdSnooper1.2.0EnabledHender Plugner
aParticles1.1.0EnabledAnon
DevTools1.10.0EnabledPocketMine Team
AutoArmor1EnabledTeam_YT MCPE
MotdMCPE1EnabledLDX
Points_The_XZY1EnabledMazen
OnlineRecord1EnabledMrdoni98 и PLUGPLUS
BAN1.0EnableduEpicøL
WallBanner1.1.6EnabledHadsync
Nicknames1.0.0EnabledKairus Dark Seeker
TNT_Impulsion1EnabledL1GHT & Bluezin
DisableWeather1.0.0EnabledKairus Dark Seeker
TopKillsLeaderboard0.0.2Disabled
NoHunger1EnabledTerminatør_YT
BlockSniper1.3.0EnabledSandertv
TPALL1.0.0Enabled
KillHealthJuze1EnabledJUZEXMOD
BlockID0.1EnabledTeam_YT
InventoryClear1.3EnabledCrazedMiner
MagicWE0.2.4EnabledthebigsmileXD
aFloatingText1.2EnabledAlexBrin
Alias1.2.0EnabledZacHack
ReasonWL2EnabledCreeperFace
FxFReport1EnabledFraidxFoRSeS
HideAndSeek1EnabledScrimer vk.com/scrimerx
MLGBlock1Enabled
FxFGamemode1.0EnabledFraid x FoRSeS
SpecialItems1.0.0EnabledLunarelly
SkyAddons1.0.0EnabledLunarelly
DeathParticle1EnabledScrimer vk.com/scrimerx
LobbyChestplate1.0.0Enabled
PLevel1.0.0Enabled
SW_svile0.5-MOD1Enabledsvile
EnderPerl1.2.0EnabledYosshi999
ModTime1.0.0Enabled
FxFWorldProtect2.2.0EnabledFraid x FoRSeS
BwTop1.0.0EnabledScrimer
BlockCommand0.1Enabled
PurePerms1.3.7Enabled64FF00 & ProjectInfinity
TheBridge1EnabledSus
SkyWarsDrop3EnabledAdidasDev
ServerAuth2.0.0Enabled
FxFJoin0.1EnabledFraid x FoRSeS
KitKB1.1.2Enabledjkorn
Particles1Enabled
Ping1EnabledFraid
BanSystem2.0.0EnabledxLemdy7w7
LobbyFly1.0.0Enabled
EconomyAPI2.0.8Enabledonebone
TntRun1EnabledScrimer vk.com/scrimerx
ManyWorlds2.0.3Enabledaliuly
FxFNoFallDamage1.0EnabledFraidxFoRSeS
FxFGlowstoneApi2.0.0EnabledFraid x FoRSeS

Server Settings [toggle]

NameValue
server-ip0.0.0.0
enable-queryon
server-port24455
query.port24455
motdMinecraft: PE Server
white-listoff
announce-player-achievementson
spawn-protection16
max-players20
allow-flightoff
spawn-animalson
spawn-mobson
gamemode0
force-gamemodeoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameworld
level-seed
level-typeDEFAULT
enable-rconoff
rcon.password******
auto-saveon
view-distance8
settings.languageeng
settings.force-languagefalse
settings.shutdown-messageServer closed
settings.query-pluginstrue
settings.deprecated-verbosetrue
settings.enable-profilingfalse
settings.profile-report-trigger20
settings.async-workersauto
memory.global-limit0
memory.main-limit0
memory.main-hard-limit1024
memory.check-rate20
memory.continuous-triggertrue
memory.continuous-trigger-rate30
memory.garbage-collection.period36000
memory.garbage-collection.collect-async-workertrue
memory.garbage-collection.low-memory-triggertrue
memory.max-chunks.chunk-radius4
memory.max-chunks.trigger-chunk-collecttrue
memory.max-chunks.low-memory-triggertrue
memory.world-caches.disable-chunk-cachetrue
memory.world-caches.low-memory-triggertrue
network.batch-threshold256
network.compression-level7
network.async-compressionfalse
network.upnp-forwardingfalse
debug.assertions.warn-if-enabledtrue
debug.level1
debug.commandsfalse
player.save-player-datatrue
player.anti-cheat.allow-movement-cheatsfalse
player.anti-cheat.allow-instabreakfalse
level-settings.default-formatpmanvil
level-settings.auto-tick-ratetrue
level-settings.auto-tick-rate-limit20
level-settings.base-tick-rate1
level-settings.always-tick-playersfalse
chunk-sending.per-tick4
chunk-sending.spawn-radius4
chunk-sending.cache-chunksfalse
chunk-ticking.per-tick40
chunk-ticking.tick-radius3
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listtrue
chunk-ticking.disable-block-ticking
chunk-generation.queue-size8
chunk-generation.population-queue-size8
ticks-per.animal-spawns400
ticks-per.monster-spawns1
ticks-per.autosave6000
ticks-per.cache-cleanup900
spawn-limits.monsters70
spawn-limits.animals15
spawn-limits.water-animals5
spawn-limits.ambient15
auto-report.enabledtrue
auto-report.send-codetrue
auto-report.send-settingstrue
auto-report.send-phpinfofalse
auto-report.hostcrash.pocketmine.net
anonymous-statistics.enabledtrue
anonymous-statistics.hoststats.pocketmine.net
auto-updater.enabledtrue
auto-updater.on-update.warn-consoletrue
auto-updater.on-update.warn-opstrue
auto-updater.preferred-channelbeta
auto-updater.suggest-channelstrue
auto-updater.hostwww.pocketmine.net
timings.hosttimings.pmmp.io
console.title-ticktrue
aliases
worlds
Find duplicates  |   Download