Skip to content

Commit

Permalink
Enable feedback for signmeup trigger command
Browse files Browse the repository at this point in the history
  • Loading branch information
ustc-zzzz committed Aug 15, 2021
1 parent 129786f commit 7606310
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/teacon/signin/SignMeUp.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7606310

Please sign in to comment.