Implement decent command handling

This commit is contained in:
dfsek
2020-10-01 02:16:54 -07:00
parent 215b30e611
commit f7f98b6dcc
20 changed files with 363 additions and 83 deletions

View File

@@ -1,5 +1,6 @@
package com.dfsek.terra.command;
import com.dfsek.terra.command.image.ImageCommand;
import com.dfsek.terra.command.profile.ProfileCommand;
import com.dfsek.terra.command.structure.StructureCommand;
import com.dfsek.terra.config.genconfig.BiomeConfig;
@@ -22,7 +23,8 @@ public class TerraCommand implements CommandExecutor, TabExecutor {
new OreCommand(),
new ProfileCommand(),
new SaveDataCommand(),
new StructureCommand());
new StructureCommand(),
new ImageCommand());
@Override
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) {