Update Level.cs

Removed SchemaOptions.OPTIONAL from all sub nodes of GameRules. As far as I can see GameRules is mandatory
This commit is contained in:
snoopen 2013-05-27 13:13:50 +11:00
parent 9b312a2a74
commit c5b9b80961

View file

@ -161,13 +161,13 @@ namespace Substrate
new SchemaNodeScaler("DayTime", TagType.TAG_LONG, SchemaOptions.OPTIONAL),
new SchemaNodeCompound("GameRules")
{
new SchemaNodeScaler("commandBlockOutput", TagType.TAG_STRING, SchemaOptions.OPTIONAL),
new SchemaNodeScaler("doFireTick", TagType.TAG_STRING, SchemaOptions.OPTIONAL),
new SchemaNodeScaler("doMobLoot", TagType.TAG_STRING, SchemaOptions.OPTIONAL),
new SchemaNodeScaler("doMobSpawning", TagType.TAG_STRING, SchemaOptions.OPTIONAL),
new SchemaNodeScaler("doTileDrops", TagType.TAG_STRING, SchemaOptions.OPTIONAL),
new SchemaNodeScaler("keepInventory", TagType.TAG_STRING, SchemaOptions.OPTIONAL),
new SchemaNodeScaler("mobGriefing", TagType.TAG_STRING, SchemaOptions.OPTIONAL),
new SchemaNodeScaler("commandBlockOutput", TagType.TAG_STRING),
new SchemaNodeScaler("doFireTick", TagType.TAG_STRING),
new SchemaNodeScaler("doMobLoot", TagType.TAG_STRING),
new SchemaNodeScaler("doMobSpawning", TagType.TAG_STRING),
new SchemaNodeScaler("doTileDrops", TagType.TAG_STRING),
new SchemaNodeScaler("keepInventory", TagType.TAG_STRING),
new SchemaNodeScaler("mobGriefing", TagType.TAG_STRING),
},
},
};