menu
#3982545 "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

Submitted by PocketMine-MP 3.11.1

General information

Version: 3.11.1
Git commit: 40a2211a
Plugin involvement: Direct
Report date: 2020-03-26 10:37:16 +0000 UTC

System Information

PHP version: 7.3.14
Operating system: linux
System banner: Linux HyperDraft 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
File: plugins/FarmWorldSafeZone_v1.0.0.phar/src/SalmonDE/HyperEnte/FarmWorldSafeZone/Loader
Line: #45
Error level: ErrorException
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
					$shape = new RectangleShape((int) $shapeData['x1'], (int) $shapeData['x2'], (int) $shapeData['z1'], (int) $shapeData['z2']);
break;

case 'circle':
$shape = new CircleShape((int) $shapeData['x'], (int) $shapeData['z'], (int) $shapeData['radius']);
break;

default:
$this->getLogger()->warning('Invalid shape given for world '.$worldName.'. Skipping it ...');
continue;
}

$this->shapes[$worldName] = $shape;
$this->getLogger()->debug('Loaded shape '.get_class($shape).' for world '.$worldName);
}

$this->getServer()->getPluginManager()->registerEvents($this, $this);

$protectionTip = (string) $this->getConfig()->get('protection-tip', '');

#0 vendor/pocketmine/spl/BaseClassLoader(126): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[87] "continue" targeting switch is equivalent to "break". Did you mean to use "conti, string[111] phar:///home/mcpe/cb2/plugins/FarmWorldSafeZone_v1.0.0.phar/src/SalmonDE/HyperEn, integer 45, array[2])
#1 vendor/pocketmine/spl/BaseClassLoader(126): include()
#2 (): BaseClassLoader->loadClass(string[43] SalmonDE\HyperEnte\FarmWorldSafeZone\Loader)
#3 (): spl_autoload_call(string[43] SalmonDE\HyperEnte\FarmWorldSafeZone\Loader)
#4 src/pocketmine/plugin/PluginManager(181): class_exists(string[43] SalmonDE\HyperEnte\FarmWorldSafeZone\Loader, boolean 1)
#5 src/pocketmine/plugin/PluginManager(352): pocketmine\plugin\PluginManager->loadPlugin(string[52] /home/mcpe/cb2/plugins/FarmWorldSafeZone_v1.0.0.phar, array[2])
#6 src/pocketmine/Server(1725): pocketmine\plugin\PluginManager->loadPlugins(string[23] /home/mcpe/cb2/plugins/)
#7 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[15] /home/mcpe/cb2/, string[23] /home/mcpe/cb2/plugins/)
#8 src/pocketmine/PocketMine(295): pocketmine\server()
#9 (1): require(string[70] phar:///home/mcpe/cb2/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show