mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-20 15:26:51 +00:00
v+ oops
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user