summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/util/PermissionValidator.java
blob: 9d379010345a6841cb05b9add784a61899e139d6 (plain)
1
2
3
4
5
6
7
8
9
package com.keuin.kbackupfabric.util;

import net.minecraft.server.command.ServerCommandSource;

public class PermissionValidator {
    public static boolean op(ServerCommandSource commandSource) {
        return commandSource.hasPermissionLevel(4);
    }
}