Skip to content

Commit 8d610a3

Browse files
committed
Fix Text mcdoc references
1 parent 31b4c66 commit 8d610a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/components/generator/McdocHelpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function getRootType(id: string): McdocType {
1414
return { kind: 'reference', path: '::java::pack::Pack' }
1515
}
1616
if (id === 'text_component' ) {
17-
return { kind: 'reference', path: '::java::server::util::text::Text' }
17+
return { kind: 'reference', path: '::java::util::text::Text' }
1818
}
1919
if (id.startsWith('tag/')) {
2020
const attribute: AttributeValue = {

src/app/services/Spyglass.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const DRAFTS_URI = `${ROOT_URI}drafts/`
2727
const INITIAL_DIRS = [CACHE_URI, ROOT_URI, DEPENDENCY_URI, UNSAVED_URI, PROJECTS_URI, DRAFTS_URI]
2828

2929
const builtinMcdoc = `
30-
use ::java::server::util::text::Text
30+
use ::java::util::text::Text
3131
use ::java::data::worldgen::dimension::Dimension
3232
3333
dispatch minecraft:resource[text_component] to Text

0 commit comments

Comments
 (0)