mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-28 11:39:07 +00:00
Iris std map v4 sync
This commit is contained in:
@@ -404,9 +404,16 @@ public class CommandStudio implements DecreeExecutor {
|
||||
@Param(name = "world", description = "The world to open the generator for", contextual = true)
|
||||
World world
|
||||
) {
|
||||
if (noGUI()) return;
|
||||
if (noGUI()) {
|
||||
sender().sendMessage(C.GOLD + "GUI Support isn't enabled or supported on this server.");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!IrisToolbelt.isIrisWorld(world)) {
|
||||
if (world == null) {
|
||||
if (noStudio()) return;
|
||||
world = player().getWorld();
|
||||
}
|
||||
else if (!IrisToolbelt.isIrisWorld(world)) {
|
||||
sender().sendMessage(C.RED + "You need to be in or specify an Iris-generated world!");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user