From 3c9cc2c4a8e20d83ce6707c7393746be12f0ed5c Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Sun, 12 May 2019 10:48:47 -0400 Subject: [PATCH] Remove unrelated change --- .../java/com/velocitypowered/proxy/command/VelocityCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommand.java b/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommand.java index 3c12b493a..a67582a0a 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommand.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/command/VelocityCommand.java @@ -260,7 +260,7 @@ public class VelocityCommand implements Command { @Override public boolean hasPermission(CommandSource source, String @NonNull [] args) { - return source.getPermissionValue("velocity.command.plugins").asBoolean(); + return source.getPermissionValue("velocity.command.plugins") == Tristate.TRUE; } } }