mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Polish
This commit is contained in:
parent
e328bf616f
commit
5b5622b4a7
@ -18,11 +18,11 @@ public interface DecreeStudioExtension extends DecreeExecutor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return true if no studio is open & the player
|
* @return true if no studio is open or the player is not in one
|
||||||
*/
|
*/
|
||||||
default boolean noStudio(){
|
default boolean noStudio(){
|
||||||
if (!sender().isPlayer()){
|
if (!sender().isPlayer()){
|
||||||
error("Players only (this is a config error. Ask support to add DecreeOrigin.PLAYER)");
|
error("Players only (this is a config error. Ask support to add DecreeOrigin.PLAYER to the command you tried to run)");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!Iris.proj.isProjectOpen()){
|
if (!Iris.proj.isProjectOpen()){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user