Skip to content

Commit

Permalink
- Remove \n error (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xterionix authored Nov 30, 2024
1 parent 0cef4c9 commit 8863ad2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Lib/Diagnostics/Minecraft/Language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,6 @@ export function minecraft_language_line_diagnose(

const offset = line.offset + assignIndex + 1;
let index;
if ((index = value.indexOf("\\n")) > -1)
diagnoser.add(
index + offset,
"Illegal text, minecraft doesn't accept this unfortunately",
DiagnosticSeverity.error,
"minecraft.language.illegal"
);
if ((index = value.indexOf("\\r")) > -1)
diagnoser.add(
index + offset,
Expand Down

0 comments on commit 8863ad2

Please sign in to comment.