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

@@ -24,7 +24,7 @@ plugins {
id "de.undercouch.download" version "5.0.1" id "de.undercouch.download" version "5.0.1"
} }
version '2.3.14-1.19.3' // Needs to be version specific version '2.4.1-1.19.3'
def nmsVersion = "1.19.3" //[NMS] def nmsVersion = "1.19.3" //[NMS]
def apiVersion = '1.19' def apiVersion = '1.19'
def specialSourceVersion = '1.11.0' //[NMS] def specialSourceVersion = '1.11.0' //[NMS]

View File

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