You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected result: What were you expecting to happen? Able to stop the server without error
Actual result: What actually happened?i see errors
Steps to reproduce the issue
... Stop the server
...
OS and versions
PocketMine-MP: 3.3.0
PHP:7.2
Server OS:
Game version: PE/Win10 (delete as appropriate)
Plugins
Test on a clean server without plugins: is the issue reproducible without any plugins loaded?yes
If the issue is not reproducible without plugins:
Have you asked for help on our forums before creating an issue?
Can you provide sample, minimal reproducing code for the issue? If so, paste it in the bottom section
Paste your list of plugins here (use the 'plugins' command in PocketMine-MP)
Crashdump, backtrace or other files
Do not paste crashdumps into an issue - please use our Crash Archive at https://crash.pmmp.io for submitting crash reports to not spam the issue tracker. Add links to your reports in the Crash Archive here.
Please use gist or anything else to add other files and add links here
...
[22:20:03] [Server thread/INFO]: [CONSOLE: Stopping the server]
entException("Object must be a Block");
}
if($subject->getLevel() === $this->owningLevel){
return parent::hasMetadata($subject, $metadataKey);
}else{
throw new \InvalidStateException("Block does not belong to world " . $this->owningLevel->getName());
}
}
public function removeMetadata(Metadatable $subject, string $metadataKey, Plugin $owningPlugin){
if(!($subject instanceof Block)){
throw new \InvalidArgumentException("Object must be a Block");
}
if($subject->getLevel() === $this->owningLevel){
parent::removeMetadata($subject, $metadataKey, $owningPlugin);
}else{
throw new \InvalidStateException("Block does not belong to world " . $this->owningLevel->getName());
}
}
public function setMetadata(Metadatable $subject, string $metadataKey, MetadataValue $newMetadataValue){
if(!($subject instanceof Block)){
throw new \InvalidArgumentException("Object must be a Bloc[22:20:03] [Server thread/CRITICAL]: Error: "Class 'pocketmine\event\level\LevelUnloadEvent' not found" (EXCEPTION) in "src/pocketmine/level/Level" at line 528
[22:20:03] [Server thread/DEBUG]: #0 src/pocketmine/Server(989): pocketmine\level\Level->unload(boolean 1)
[22:20:03] [Server thread/DEBUG]: Builtin thread-local object storage for AsyncTask #1 src/pocketmine/Server(2046): pocketmine\Server->unloadLevel(pocketmine\level\Level object, boolean 1)
[22:20:03] [Server thread/DEBUG]: Better time ticking and sync #2 src/pocketmine/Server(2135): pocketmine\Server->forceShutdown()
[22:20:03] [Server thread/DEBUG]: Use of Utils::getRandomBytes(16) #3 src/pocketmine/Server(1700): pocketmine\Server->start()
[22:20:03] [Server thread/DEBUG]: Fixed RawChicken::getAdditionalEffects sometimes returns void #4 src/pocketmine/PocketMine(243): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /var/lib/pufferd/servers/0c325119-ebc0-4591-93e9-d2b84cea3e42/, string /var/lib/pufferd/servers/0c325119-ebc0-4591-93e9-d2b84cea3e42/plugins/)
[22:20:03] [Server thread/DEBUG]: Typo fix in fetching timezone from web #5 /var/lib/pufferd/servers/0c325119-ebc0-4591-93e9-d2b84cea3e42/PocketMine-MP.phar(1): require(string phar:///var/lib/pufferd/servers/0c325119-ebc0-4591-93e9-d2b84cea3e42/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[22:20:03] [Server thread/EMERGENCY]: Crashed while crashing, killing process
Running post-execution steps
The text was updated successfully, but these errors were encountered:
Issue description
Steps to reproduce the issue
OS and versions
Plugins
If the issue is not reproducible without plugins:
Crashdump, backtrace or other files
...
[22:20:03] [Server thread/INFO]: [CONSOLE: Stopping the server]
entException("Object must be a Block");
}
if($subject->getLevel() === $this->owningLevel){
return parent::hasMetadata($subject, $metadataKey);
}else{
throw new \InvalidStateException("Block does not belong to world " . $this->owningLevel->getName());
}
}
public function removeMetadata(Metadatable $subject, string $metadataKey, Plugin $owningPlugin){
if(!($subject instanceof Block)){
throw new \InvalidArgumentException("Object must be a Block");
}
if($subject->getLevel() === $this->owningLevel){
parent::removeMetadata($subject, $metadataKey, $owningPlugin);
}else{
throw new \InvalidStateException("Block does not belong to world " . $this->owningLevel->getName());
}
}
public function setMetadata(Metadatable $subject, string $metadataKey, MetadataValue $newMetadataValue){
if(!($subject instanceof Block)){
throw new \InvalidArgumentException("Object must be a Bloc[22:20:03] [Server thread/CRITICAL]: Error: "Class 'pocketmine\event\level\LevelUnloadEvent' not found" (EXCEPTION) in "src/pocketmine/level/Level" at line 528
[22:20:03] [Server thread/DEBUG]: #0 src/pocketmine/Server(989): pocketmine\level\Level->unload(boolean 1)
[22:20:03] [Server thread/DEBUG]: Builtin thread-local object storage for AsyncTask #1 src/pocketmine/Server(2046): pocketmine\Server->unloadLevel(pocketmine\level\Level object, boolean 1)
[22:20:03] [Server thread/DEBUG]: Better time ticking and sync #2 src/pocketmine/Server(2135): pocketmine\Server->forceShutdown()
[22:20:03] [Server thread/DEBUG]: Use of Utils::getRandomBytes(16) #3 src/pocketmine/Server(1700): pocketmine\Server->start()
[22:20:03] [Server thread/DEBUG]: Fixed RawChicken::getAdditionalEffects sometimes returns void #4 src/pocketmine/PocketMine(243): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /var/lib/pufferd/servers/0c325119-ebc0-4591-93e9-d2b84cea3e42/, string /var/lib/pufferd/servers/0c325119-ebc0-4591-93e9-d2b84cea3e42/plugins/)
[22:20:03] [Server thread/DEBUG]: Typo fix in fetching timezone from web #5 /var/lib/pufferd/servers/0c325119-ebc0-4591-93e9-d2b84cea3e42/PocketMine-MP.phar(1): require(string phar:///var/lib/pufferd/servers/0c325119-ebc0-4591-93e9-d2b84cea3e42/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[22:20:03] [Server thread/EMERGENCY]: Crashed while crashing, killing process
Running post-execution steps
The text was updated successfully, but these errors were encountered: