From 7606310df02b618b785f113b3a0d4182deb1c7c9 Mon Sep 17 00:00:00 2001 From: Yanbing Zhao Date: Mon, 16 Aug 2021 07:04:05 +0800 Subject: [PATCH] Enable feedback for signmeup trigger command --- build.gradle | 2 +- src/main/java/org/teacon/signin/SignMeUp.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);