Skip to content

Commit

Permalink
Fix StringNode usage
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Sep 4, 2024
1 parent 74d0a3f commit 577726e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/1.21.2/src/schemas/TrialSpawner.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import {
Reference as RawReference,
StringNode as RawStringNode,
ChoiceNode,
ListNode,
MapNode,
Mod,
ObjectNode,
Opt,
SchemaRegistry,
StringNode,
CollectionRegistry,
NumberNode
} from '@mcschema/core'
import { InclusiveRange } from './Common'

export function initTrialSpawnerSchemas(schemas: SchemaRegistry, collections: CollectionRegistry) {
const Reference = RawReference.bind(undefined, schemas)

const StringNode = RawStringNode.bind(undefined, collections)

schemas.register('light_limit', ChoiceNode([
{
Expand Down

0 comments on commit 577726e

Please sign in to comment.