diff --git a/build.gradle b/build.gradle index d5304bf..b3c381d 100644 --- a/build.gradle +++ b/build.gradle @@ -15,7 +15,7 @@ apply plugin: 'net.minecraftforge.gradle' apply plugin: 'eclipse' apply plugin: 'maven-publish' -version = '0.1.5' +version = '0.1.6' group = 'org.teacon' archivesBaseName = 'SignMeUp-Forge-1.16' diff --git a/src/main/java/org/teacon/signin/SignMeUp.java b/src/main/java/org/teacon/signin/SignMeUp.java index dc734e8..268f17b 100644 --- a/src/main/java/org/teacon/signin/SignMeUp.java +++ b/src/main/java/org/teacon/signin/SignMeUp.java @@ -111,7 +111,7 @@ public static boolean trigger(ServerPlayerEntity player, Vector3i pos, ResourceL if (server != null) { final Vector3d pos3d = Vector3d.copy(pos); final CommandSource source = isCommand - ? player.getCommandSource().withPos(pos3d).withFeedbackDisabled().withPermissionLevel(2) + ? player.getCommandSource().withPos(pos3d).withPermissionLevel(2) : player.getCommandSource().withPos(pos3d).withFeedbackDisabled().withMinPermissionLevel(2); for (String command : trigger.executes) { server.getCommandManager().handleCommand(source, command);