This commit is contained in:
Brian Neumann-Fopiano committed 2023-02-15 18:41:17 -05:00
1 parent f5c64c7480
commit f6571367db
2 files changed
+2 -2

No files matched your search

@@ -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;
}