mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-26 18:49:06 +00:00
v+ oops
This commit is contained in:
@@ -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