PocketMine Crash Archive

#29782568 Undefined call error by DisableWeather plugin

Submitted by PocketMine-MP 1.6dev
Warning! This crash was caused by the DisableWeather plugin. Please contact the original plugin author.

General information

Version: 1.6dev
API version: 1.13.1
Caused by a Plugin: YES
Report date: Sunday 30/10/2022 22:28:27
Attached Issue: None

System Information

PHP version: 5.6.10
Operating system: linux
System banner: Linux 92748dbca439 5.15.0-41-generic #44-Ubuntu SMP Wed Jun 22 14:20:53 UTC 2022 x86_64

Error information

Call to undefined method pocketmine\level\Level::getWeather()
File: /DisableWeather.phar/src/DisableWeather/Task
Line: #16
Error level: E_ERROR

[7] class Task extends PluginTask {
[8] 	
[9] 	public function __construct(Main $plugin) {
[10] 		$this->plugin = $plugin;
[11] 		parent::__construct($plugin);
[12] 	}
[13] 	
[14] 	public function onRun($tick) {
[15] 		foreach($this->plugin->getServer()->getLevels() as $l) {
[16] 			$l->getWeather()->setWeather(0, 20 * 60 * 60);
[17] 		}
[18] 	}
[19] }
[20] 
[21] 
[22] 
[23] 
[24] 
[25] 
[26] 
#0 (): pocketmine\Server->crashDump(boolean)

Loaded Plugins

NameVersionStateAuthor(s)
SW_svile0.6devEnabledsvile
PurePerms1.3.7Enabled64FF00 & ProjectInfinity
DisableWeather1.0.0EnabledKairus Dark Seeker
ReasonWL2EnabledCreeperFace
PVPlevelRPG6.9.LucasGamer610EnabledByZikenPE
SumoV21Enabled
Protect2.2.0Enabledaliuly
AutoMensagen1.16EnabledEvolSoft
RestartMe1.2.0EnabledGamecrafter
ManyWorlds2.0.3Enabledaliuly
NoAdvertisingPE1.0.1EnabledVaivez66
SimpleGamemode1.0EnabledTeam_YT MCPE
DevTools1.10.0EnabledPocketMine Team
RealTime2.1.1EnabledGuillaume351
PureChat1.4.0Enabled64FF00
KillRate2.1.1Enabledaliuly

Server Settings [toggle]

NameValue
gamemode0
enable-rconoff
white-listoff
hardcoreoff
level-nameworld
max-players10
auto-saveon
spawn-protection16
motdServer.pro | sky
announce-player-achievementson
allow-flightoff
spawn-animalson
spawn-mobson
force-gamemodeoff
pvpon
difficulty1
generator-settings
level-seed
level-typeDEFAULT
rcon.password******
enable-queryon
disable-logfileoff
server-port41695
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.trigger-limit96
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.level1
debug.commandsfalse
level-settings.default-formatmcregion
level-settings.convert-formatfalse
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.max-chunks192
chunk-sending.spawn-threshold56
chunk-sending.cache-chunksfalse
chunk-ticking.per-tick40
chunk-ticking.tick-radius3
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listtrue
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
aliases
worlds
Find duplicates  |   Download