menu
#4221048 Constant expression contains invalid operations

Submitted by PocketMine-MP 3.12.2

General information

Version: 3.12.2
Git commit: 9b6b3f50
Plugin involvement: Direct
Report date: 2020-05-23 08:02:28 +0000 UTC

System Information

PHP version: 7.3.18
Operating system: win
System banner: Windows NT DESKTOP-6FV7IAI 10.0 build 18362 (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/amberPVP/src/amber/amberPVP/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

class Main extends PluginBase implements Listener{

public $damages = [];
public $skillCT = [[]];
public $fighting = [];
public $latestAttacker = [];
public $playerATK = [];

public $formapi = $this->getServer()->getPluginManager()->getPlugin("FormAPI");//FormAPI導入

public function onEnable(){
$this->getServer()->getPluginManager()->registerEvents($this, $this);
}

public function onJoin(PlayerJoinEvent $event) {
$player = $event->getPlayer();
$name = $player->getName();
$event->setJoinMessage("§l§e>>".$name."が参戦♂した");
for ($i = 0; $i <= 2; $i++) {

Loaded Plugins

  • Show

Server Settings

  • Show