Browse Source

Merge pull request #47 from fyvekatz/ALPHA12

Alpha12
master
⋀d5001 2 years ago
committed by GitHub
parent
commit
ce05c1c269
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      plugin.yml
  2. +2
    -2
      src/Ad5001/BetterGen/generator/BetterNormal.php

+ 1
- 1
plugin.yml View File

@@ -20,7 +20,7 @@ contributors:
main: Ad5001\BetterGen\Main
version: 1.1
load: STARTUP
api: [3.0.0-ALPHA11]
api: [3.0.0-ALPHA12]
commands:
createworld:
description: Generates a new world.


+ 2
- 2
src/Ad5001/BetterGen/generator/BetterNormal.php View File

@@ -414,7 +414,7 @@ class BetterNormal extends Generator {
self::$options["preset"] = $options["preset"];
$options = (array) json_decode($options["preset"]);
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) {
self::$options["delBio"] = $options["delBio"];
}
@@ -503,4 +503,4 @@ class BetterNormal extends Generator {
return ++$y;
}
}
}

Loading…
Cancel
Save