forked from mirrors/NBTExplorer
Any new fields (including compound subfields) need to be either OPTIONAL or CREATE_ON_MISSING. Only entries that are part of a compound when it is first introduced need not be optional.
This commit is contained in:
parent
25ed020e28
commit
af639918b9
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ namespace Substrate
|
|||
new SchemaNodeScaler("initialized", TagType.TAG_BYTE, SchemaOptions.OPTIONAL),
|
||||
new SchemaNodeScaler("allowCommands", TagType.TAG_BYTE, SchemaOptions.OPTIONAL),
|
||||
new SchemaNodeScaler("DayTime", TagType.TAG_LONG, SchemaOptions.OPTIONAL),
|
||||
new SchemaNodeCompound("GameRules")
|
||||
new SchemaNodeCompound("GameRules", SchemaOptions.OPTIONAL)
|
||||
{
|
||||
new SchemaNodeScaler("commandBlockOutput", TagType.TAG_STRING),
|
||||
new SchemaNodeScaler("doFireTick", TagType.TAG_STRING),
|
||||
|
|
Loading…
Reference in a new issue