mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Give error when using hosted server & gui.
This commit is contained in:
parent
4700c3711c
commit
72b645916f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user