menu
#3975550 Constant expression contains invalid operations

Submitted by PocketMine-MP 3.11.4

General information

Version: 3.11.4
Git commit: 13f28d84
Plugin involvement: Direct
Report date: 2020-03-24 12:05:39 +0000 UTC

System Information

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

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Constant expression contains invalid operations
File: plugins/BookEnchantShop/src/hexmor/BookEnchantShop/Main
Line: #33
Error level: E_COMPILE_ERROR
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
	public $LegendaryCost = 4;

//How To Add Enchants ? Like This "name" => "level"
public $CommonContent = ["aimbot" => 1,"jetpack" => 1];
public $UnCommonContent = ["aimbot" => "1","jetpack" => "1"];
public $RareContent = ["aimbot" => "1","jetpack" => "1"];
public $LegendaryContent = ["aimbot" => "1","jetpack" => "1"];

//item name . use $enchant and $level for enchant name and level
public $CommonName = "$enchant Enchant";
public $UnCommonName = "$enchant Enchant";
public $RareName = "$enchant Enchant";
public $LegendaryName = "$enchant Enchant";

//item Lore . use $enchant and $level for enchant name and level
public $CommonLore = T::YELLOW . "\n Enchant = $enchant \n Level = $level";
public $UnCommonLore = T::YELLOW . "\n Enchant = $enchant \n Level = $level";
public $RareLore = T::YELLOW . "\n Enchant = $enchant \n Level = $level";
public $LegendaryLore = T::YELLOW . "\n Enchant = $enchant \n Level = $level";

Loaded Plugins

  • Show

Server Settings

  • Show