menu
#3761878 'break' not in the 'loop' or 'switch' context

Submitted by PocketMine-MP 3.11.3

General information

Version: 3.11.3
Git commit: 0d5704b1
Plugin involvement: Direct
Report date: 2020-02-13 14:02:17 +0000 UTC

System Information

PHP version: 7.2.16
Operating system: linux
System banner: Linux vultr.guest 3.10.0-1062.9.1.el7.x86_64 #1 SMP Fri Dec 6 15:49:49 UTC 2019 x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: 'break' not in the 'loop' or 'switch' context
File: plugins/F_vSEXD/src/f/Main
Line: #456
Error level: E_COMPILE_ERROR
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
		if ( $ac < 2 ) goto cr;
if($sender->isOp()){
$args[1] = intval($args[1]);
$pos = $this->config->get("pos",[]);
$pos[$args[1]] = [$sender->x,$sender->y,$sender->z,$sender->level->getName()];
$this->config->set("pos",$pos);
$this->config->save();
$sender->sendMessage("設置#".$args[1]."點OK");
}
break;
}
if ( $args[0] == 'setspc' ) {
if ( $ac < 2 ) goto cr;
if($sender->isOp()){
$this->config->set("spec",[$sender->x,$sender->y,$sender->z,$sender->level->getName()]);
$this->config->save();
$sender->sendMessage("設置觀戰點OK");
}
break;
}

Loaded Plugins

  • Show

Server Settings

  • Show