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:
Justin Aquadro 2013-07-02 21:40:57 -04:00
parent 25ed020e28
commit af639918b9

View file

@ -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),