mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-30 04:29:05 +00:00
noriver
This commit is contained in:
@@ -2,12 +2,14 @@ package com.volmit.iris.command;
|
||||
|
||||
import com.volmit.iris.Iris;
|
||||
import com.volmit.iris.gen.IrisChunkGenerator;
|
||||
import com.volmit.iris.gui.NoiseView;
|
||||
import com.volmit.iris.gui.IrisVision;
|
||||
import com.volmit.iris.util.MortarCommand;
|
||||
import com.volmit.iris.util.MortarSender;
|
||||
|
||||
public class CommandIrisMap extends MortarCommand {
|
||||
public CommandIrisMap() {
|
||||
public class CommandIrisMap extends MortarCommand
|
||||
{
|
||||
public CommandIrisMap()
|
||||
{
|
||||
super("map", "render");
|
||||
setDescription("Render a map (gui outside of mc)");
|
||||
requiresPermission(Iris.perm.studio);
|
||||
@@ -15,15 +17,17 @@ public class CommandIrisMap extends MortarCommand {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean handle(MortarSender sender, String[] args) {
|
||||
public boolean handle(MortarSender sender, String[] args)
|
||||
{
|
||||
IrisChunkGenerator g = Iris.proj.getCurrentProject();
|
||||
NoiseView.launch(g);
|
||||
IrisVision.launch(g);
|
||||
sender.sendMessage("Opening Map!");
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getArgsUsage() {
|
||||
protected String getArgsUsage()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user