import { world, ItemStack } from "@minecraft/server";
export function giveGuideBook(player, log) {
    const objective = world.scoreboard.getObjective("kicu_mmad_HasBeenGivenBook");
    const scoreboardIdentity = player.scoreboardIdentity;
    if (!scoreboardIdentity || !objective.getParticipants().includes(scoreboardIdentity)) {
        objective.setScore(player, 1);
        player.dimension.spawnItem(new ItemStack("kicu_mmad:fake_book", 1), player.location);
    }
}

//# sourceMappingURL=../../../../../_KiCuMountsBPDebug/kicu/mmad/C/GiveGuide.js.map
