further compressed data tree cleanup
This commit is contained in:
parent
b52053f5ea
commit
815c52e5d7
8 changed files with 240 additions and 265 deletions
|
@ -10,9 +10,13 @@ public class CommandSeed extends Command {
|
|||
super("seed");
|
||||
|
||||
this.addWorld("dim", true);
|
||||
|
||||
this.addFlag("dump", 'd');
|
||||
}
|
||||
|
||||
public Object exec(CommandEnvironment env, Executor exec, WorldServer world) {
|
||||
public Object exec(CommandEnvironment env, Executor exec, WorldServer world, boolean dump) {
|
||||
if(dump)
|
||||
exec.logConsole("Daten: %s", world.dimension.dumpTags().toString());
|
||||
exec.logConsole("Startwert von %s: %d", world.dimension.getFormattedName(false), world.dimension.getSeed());
|
||||
return world.dimension.getSeed();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue