Skip to content

Commit

Permalink
Update entry.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 authored Mar 18, 2024
1 parent 4ce99de commit a98ec2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lib/Diagnostics/ResourcePack/Block/entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Json } from "../../Json/Json";
export function Diagnose(diagnoser: DocumentDiagnosticsBuilder): void {
const blocks = Json.LoadReport<Blocks>(diagnoser);

if (!Json.TypeCheck(blocks, diagnoser, "blocks.json", "minecraft.resourcepack.blocks.invalid", is)) return;
if (!Json.TypeCheck(blocks, diagnoser, "blocks.json", "resourcepack.blocks.invalid", is)) return;

const keys = Object.keys(blocks);
const rp = diagnoser.context.getCache().ResourcePacks;
Expand Down

0 comments on commit a98ec2e

Please sign in to comment.