File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
common/src/main/java/dev/ftb/mods/ftblibrary/util/client Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 2525import java .util .function .BooleanSupplier ;
2626
2727public class ClientUtils {
28- // TODO: @since 21.x? Is moderator really what we define as OP?
29- public static final BooleanSupplier IS_CLIENT_OP = () -> Minecraft .getInstance ().player != null && Minecraft .getInstance ().player .permissions ().hasPermission (Permissions .COMMANDS_MODERATOR );
28+ public static final BooleanSupplier IS_CLIENT_OP = () -> Minecraft .getInstance ().player != null && Minecraft .getInstance ().player .permissions ().hasPermission (Permissions .COMMANDS_GAMEMASTER );
3029 public static final List <Runnable > RUN_LATER = new ArrayList <>();
3130 private static final MethodType EMPTY_METHOD_TYPE = MethodType .methodType (void .class );
3231 private static final HashMap <String , Optional <MethodHandle >> staticMethodCache = new HashMap <>();
You can’t perform that action at this time.
0 commit comments