menu
#3761661 Default value for parameters with a class type can only be NULL

Submitted by PocketMine-MP 3.11.4

General information

Version: 3.11.4
Git commit: 13f28d84
Plugin involvement: Direct
Report date: 2020-02-13 13:14:46 +0000 UTC

System Information

PHP version: 7.3.13
Operating system: win
System banner: Windows NT DESKTOP-SF7CEDP 10.0 build 17763 (Windows 10) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Default value for parameters with a class type can only be NULL
File: plugins/SkyBlock/src/YeniMiras/Main
Line: #323
Error level: E_COMPILE_ERROR
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
				}else{
$player->getInventory()->setItem(8, Item::get(399, 0, 1)->setCustomName("§bSky§6Block §4Menü"));
}
}else{
$player->getInventory()->setItem(8, Item::get(399, 0, 1)->setCustomName("§bSky§6Block §4Menü"));
}
}


public function playerInterval(Player $player, Double $katsayisi = 1, Bool $yapsin = true){
if($yapsin == true){
//Oyuncu Armor Envanteri Variable Start
$kafa = $player->getInventory()->getHelmet();
$kad = $kafa->getCustomName();
$ust = $player->getInventory()->getChestplate();
$uad = $ust->getCustomName();
$pant = $player->getInventory()->getLeggings();
$pad = $pant->getCustomName();
$ayak = $player->getInventory()->getBoots();
$ad = $ayak->getCustomName();

Loaded Plugins

  • Show

Server Settings

  • Show