From c5b9b809615838509d87a05edb81225676155c1e Mon Sep 17 00:00:00 2001 From: snoopen Date: Mon, 27 May 2013 13:13:50 +1100 Subject: [PATCH] Update Level.cs Removed SchemaOptions.OPTIONAL from all sub nodes of GameRules. As far as I can see GameRules is mandatory --- SubstrateCS/Source/Level.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/SubstrateCS/Source/Level.cs b/SubstrateCS/Source/Level.cs index a35b525..671e174 100644 --- a/SubstrateCS/Source/Level.cs +++ b/SubstrateCS/Source/Level.cs @@ -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), }, }, }; @@ -813,4 +813,4 @@ namespace Substrate #endregion } -} +}