forked from Ad5001/BetterGen
commit
ce05c1c269
2 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ contributors:
|
||||||
main: Ad5001\BetterGen\Main
|
main: Ad5001\BetterGen\Main
|
||||||
version: 1.1
|
version: 1.1
|
||||||
load: STARTUP
|
load: STARTUP
|
||||||
api: [3.0.0-ALPHA11]
|
api: [3.0.0-ALPHA12]
|
||||||
commands:
|
commands:
|
||||||
createworld:
|
createworld:
|
||||||
description: Generates a new world.
|
description: Generates a new world.
|
||||||
|
|
|
@ -414,7 +414,7 @@ class BetterNormal extends Generator {
|
||||||
self::$options["preset"] = $options["preset"];
|
self::$options["preset"] = $options["preset"];
|
||||||
$options = (array) json_decode($options["preset"]);
|
$options = (array) json_decode($options["preset"]);
|
||||||
if(isset($options["delBio"])) {
|
if(isset($options["delBio"])) {
|
||||||
if(is_string($options["de"])) $options["delBio"] = explode(",", $options["delBio"]);
|
if(is_string($options["delBio"])) $options["delBio"] = explode(",", $options["delBio"]);
|
||||||
if(count($options["delBio"]) !== 0) {
|
if(count($options["delBio"]) !== 0) {
|
||||||
self::$options["delBio"] = $options["delBio"];
|
self::$options["delBio"] = $options["delBio"];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue