mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-26 18:49:06 +00:00
Give error when using hosted server & gui.
This commit is contained in:
@@ -7,6 +7,7 @@ import com.volmit.iris.util.MortarCommand;
|
||||
import com.volmit.iris.util.MortarSender;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.entity.Player;
|
||||
import java.awt.HeadlessException;
|
||||
|
||||
public class CommandIrisPregen extends MortarCommand
|
||||
{
|
||||
@@ -88,6 +89,8 @@ public class CommandIrisPregen extends MortarCommand
|
||||
return true;
|
||||
} catch (NullPointerException e){
|
||||
sender.sendMessage("No radius specified");
|
||||
} catch (HeadlessException e){
|
||||
sender.sendMessage("If you are seeing this and are using a hosted server, please turn off 'useServerLaunchedGUIs' in the settings");
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user