package com.mineplex.studio;

import java.util.UUID;
import net.minecraft.world.entity.player.Player;
import org.jspecify.annotations.NonNull;

public class PlatformUtil {
    private PlatformUtil() {}

    public static boolean isFromBedrock(@NonNull Player player) {
        return isFromBedrock(player.getUUID());
    }

    public static boolean isFromBedrock(@NonNull UUID player) {
        return player.getMostSignificantBits() == 0;
    }
}
