PocketMine Crash Archive

#29764826 Undefined call error by ClearLagg plugin

Submitted by PocketMine-MP 1.4.1-980
Warning! This crash was caused by the ClearLagg plugin. Please contact the original plugin author.

General information

Version: 1.4.1-980
API version: 1.11.0
Caused by a Plugin: YES
Report date: Monday 15/03/2021 13:20:28
Attached Issue: None

System Information

PHP version: 5.6.6
Operating system: win
System banner: Windows NT DESKTOP-2616JO2 6.2 build 9200 (Windows 8 Home Premium Edition) i586

Error information

Call to undefined method pocketmine\command\ConsoleCommandSender::setHealth()
File: /ClearLagg.phar/src/ClearLagg/ClearLaggCommand
Line: #30
Error level: E_ERROR

[21]   }
[22] 
[23]   public function execute(CommandSender $sender, $alias, array $args) {
[24]     if(!$this->testPermission($sender)) {
[25]       return false;
[26]     }
[27]     if(isset($args[0])) {
[28]       switch($args[0]) {
[29]         case "clear":
[30]           $sender->setHealth("Removed " . $this->getPlugin()->removeEntities() . " entities.");
[31]           return true;
[32]         case "check":
[33]         case "count":
[34]           $c = $this->getPlugin()->getEntityCount();
[35]           $sender->sendMessage("There are " . $c[0] . " players, " . $c[1] . " mobs, and " . $c[2] . " entities.");
[36]           return true;
[37]         case "reload":
[38]           // TODO
[39]           return true;
[40]         case "killmobs":
#0 /src/pocketmine/Server(0): pocketmine\Server->crashDump()
#1 /src/pocketmine/command/SimpleCommandMap(183): ClearLagg\ClearLaggCommand->execute()
#2 /src/pocketmine/Server(1827): pocketmine\command\SimpleCommandMap->dispatch()
#3 /TimeCommander.phar/src/LDX/TimeCommander/Main(22): pocketmine\Server->dispatchCommand()
#4 /TimeCommander.phar/src/LDX/TimeCommander/TimeCommand(14): LDX\TimeCommander\Main->runCommand()
#5 /src/pocketmine/scheduler/TaskHandler(150): LDX\TimeCommander\TimeCommand->onRun()
#6 /src/pocketmine/scheduler/ServerScheduler(228): pocketmine\scheduler\TaskHandler->run()
#7 /src/pocketmine/Server(2221): pocketmine\scheduler\ServerScheduler->mainThreadHeartbeat()
#8 /src/pocketmine/Server(2110): pocketmine\Server->tick()
#9 /src/pocketmine/Server(1986): pocketmine\Server->tickProcessor()
#10 /src/pocketmine/Server(1703): pocketmine\Server->start()
#11 /src/pocketmine/PocketMine(442): pocketmine\Server->__construct()
#12 (1): ()
#13 (0): ()

Loaded Plugins

NameVersionStateAuthor(s)
AlwaysSpawn2.1.3EnabledComedyman937
CapsLimit1.0.0EnabledPRO100KatYT
ChatCensor1.4EnabledEvolSoft
ClearLagg1.1.0EnabledPRO100KatYT
CombatLogger1.0.0EnabledPRO100KatYT
CustomAlerts1.2EnabledEvolSoft
CustomRanks1.0.0Enabledshoghicp
EssentialsPE1.0.2EnabledPRO100KatYT
iProtector3.1aEnabledLDX
ItemCasePE1.0.2Enabledaliuly
NoAdvertisingPE1.0.1EnabledPRO100KatYT
NoVoid0.3EnabledPRO100KatYT
RealTime2.1EnabledGuillaume351
SimpleAuth1.6.0EnabledPocketMine Team, shoghicp
SimpleMessages1.2EnabledPRO100KatYT
TimeCommander2EnabledLDX
WorldBorder1.1.0EnabledPRO100KatYT
WorldEditArt1.0.0_beta_dev_#048EnabledPEMapModder
WorldProtect2.2.0EnabledPRO100KatYT
BattleKits1.0.4EnabledFalkirks

Server Settings [toggle]

NameValue
type0
server-nameMinecraft: PE Server
server-port19132
gamemode0
max-players20
spawn-protection-1
whitelistoff
enable-queryon
enable-rconoff
descriptionServer made using PocketMine-MP
motdWelcome @player to this server!
server-typenormal
memory-limit256M
last-updateoff
announce-player-achievementson
view-distance8
allow-flightoff
spawn-animalsoff
spawn-mobsoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameworld
level-seed
level-typeDEFAULT
rcon.password******
auto-saveon
white-listoff
force-gamemodeoff
settings.shutdown-messageServer zostal wylaczony
settings.query-pluginstrue
settings.deprecated-verbosetrue
settings.enable-profilingfalse
settings.advanced-cachefalse
settings.upnp-forwardingfalse
settings.send-usagetrue
settings.async-workers1
debug.level1
debug.commandsfalse
level-settings.default-formatmcregion
level-settings.convert-formatfalse
chunk-sending.per-tick4
chunk-sending.compression-level8
chunk-sending.max-chunks256
chunk-ticking.per-tick260
chunk-ticking.tick-radius4
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listfalse
chunk-generation.use-asynctrue
chunk-generation.per-tick1
chunk-gc.period-in-ticks600
ticks-per.animal-spawns400
ticks-per.monster-spawns1
ticks-per.autosave6000
ticks-per.cache-cleanup900
spawn-limits.monsters0
spawn-limits.animals0
spawn-limits.water-animals0
spawn-limits.ambient0
auto-report.enabledtrue
auto-report.send-codetrue
auto-report.send-settingstrue
auto-report.send-phpinfotrue
auto-report.hostcrash.pocketmine.net
auto-updater.enabledfalse
auto-updater.on-update.warn-consoletrue
auto-updater.on-update.warn-opstrue
auto-updater.preferred-channelstable
auto-updater.suggest-channelstrue
auto-updater.hostwww.pocketmine.net
aliases
worlds
Find duplicates  |   Download