Permalink
Browse files

Fix get_server_info and world_info documentation

- Allow flight disables (not enables) the anti-flight.
- Add missing maxHeight key.
  • Loading branch information...
Pieter12345 committed Sep 7, 2018
1 parent 7614582 commit d56085ab20cc26a59b1d8c89f08d75cf058f1711
@@ -515,7 +515,7 @@ public String docs() {
+ "<ul><li>0 - Server name; the name of the server in server.properties.</li>"
+ "<li>1 - API version; The version of the plugin API this server is implementing.</li>"
+ "<li>2 - Server version; The bare version string of the server implementation.</li>"
+ "<li>3 - Allow flight; If true, Minecraft's inbuilt anti fly check is enabled.</li>"
+ "<li>3 - Allow flight; If true, Minecraft's inbuilt anti fly check is disabled.</li>"
+ "<li>4 - Allow nether; is true, the Nether dimension is enabled</li>"
+ "<li>5 - Allow end; if true, the End is enabled</li>"
+ "<li>6 - World container; The path to the world container.</li>"
@@ -1212,7 +1212,7 @@ public String getName() {
@Override
public String docs() {
return "array {world} Returns an associative array of all the info needed to duplicate the world."
+ " The keys are name, seed, environment, generator, worldtype, and sealevel.";
+ " The keys are name, seed, environment, generator, worldtype, sealevel and maxheight.";
}
@Override

0 comments on commit d56085a

Please sign in to comment.