9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 18:49:06 +00:00
This commit is contained in:
Brian Neumann-Fopiano
2023-02-15 18:41:17 -05:00
parent f5c64c7480
commit f6571367db
2 changed files with 2 additions and 2 deletions

View File

@@ -379,7 +379,7 @@ public class VirtualDecreeCommand {
}
DecreeOrigin origin = type.getDeclaredAnnotation(Decree.class).origin();
if (origin.validFor(sender)) {
if (!origin.validFor(sender)) {
sender.sendMessage(C.RED + "This command has to be sent from another origin: " + C.GOLD + origin);
return false;
}