menu
#3071890 Undefined constant 'INT32_MIN'

Submitted by PocketMine-MP 3.9.8+dev

General information

Version: 3.9.8+dev
Git commit: 39594910
Plugin involvement: None
Report date: 2019-11-06 21:12:28 +0000 UTC

System Information

PHP version: 7.3.6
Operating system: mac
System banner: Darwin Jacks-MBP 18.7.0 Darwin Kernel Version 18.7.0: Sat Oct 12 00:02:19 PDT 2019; root:xnu-4903.278.12~1/RELEASE_X86_64 x86_64

Error information

Message: Undefined constant 'INT32_MIN'
File: src/pocketmine/Server
Line: #1146
Error level: Error
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
	 * @param array       $options
*
* @return bool
*/
public function generateLevel(string $name, int $seed = null, $generator = null, array $options = []) : bool{
if(trim($name) === "" or $this->isLevelGenerated($name)){
return false;
}

$seed = $seed ?? random_int(INT32_MIN, INT32_MAX);

if(!isset($options["preset"])){
$options["preset"] = $this->getConfigString("generator-settings", "");
}

if(!($generator !== null and class_exists($generator, true) and is_subclass_of($generator, Generator::class))){
$generator = GeneratorManager::getGenerator($this->getLevelType());
}

if(($providerClass = LevelProviderManager::getProviderByName($this->getProperty("level-settings.default-format", "pmanvil"))) === null){
#0 src/pocketmine/Server(1761): pocketmine\Server->generateLevel(string[5] world, NULL )
#1 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[7] server/, string[44] /Users/jack/Development/php/NG-PMMP/plugins/)
#2 src/pocketmine/PocketMine(294): pocketmine\server()

Loaded Plugins

  • Show

Server Settings

  • Show