forked from mirrors/NBTExplorer
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:
parent
9b312a2a74
commit
c5b9b80961
1 changed files with 8 additions and 8 deletions
|
@ -161,13 +161,13 @@ namespace Substrate
|
||||||
new SchemaNodeScaler("DayTime", TagType.TAG_LONG, SchemaOptions.OPTIONAL),
|
new SchemaNodeScaler("DayTime", TagType.TAG_LONG, SchemaOptions.OPTIONAL),
|
||||||
new SchemaNodeCompound("GameRules")
|
new SchemaNodeCompound("GameRules")
|
||||||
{
|
{
|
||||||
new SchemaNodeScaler("commandBlockOutput", TagType.TAG_STRING, SchemaOptions.OPTIONAL),
|
new SchemaNodeScaler("commandBlockOutput", TagType.TAG_STRING),
|
||||||
new SchemaNodeScaler("doFireTick", TagType.TAG_STRING, SchemaOptions.OPTIONAL),
|
new SchemaNodeScaler("doFireTick", TagType.TAG_STRING),
|
||||||
new SchemaNodeScaler("doMobLoot", TagType.TAG_STRING, SchemaOptions.OPTIONAL),
|
new SchemaNodeScaler("doMobLoot", TagType.TAG_STRING),
|
||||||
new SchemaNodeScaler("doMobSpawning", TagType.TAG_STRING, SchemaOptions.OPTIONAL),
|
new SchemaNodeScaler("doMobSpawning", TagType.TAG_STRING),
|
||||||
new SchemaNodeScaler("doTileDrops", TagType.TAG_STRING, SchemaOptions.OPTIONAL),
|
new SchemaNodeScaler("doTileDrops", TagType.TAG_STRING),
|
||||||
new SchemaNodeScaler("keepInventory", TagType.TAG_STRING, SchemaOptions.OPTIONAL),
|
new SchemaNodeScaler("keepInventory", TagType.TAG_STRING),
|
||||||
new SchemaNodeScaler("mobGriefing", TagType.TAG_STRING, SchemaOptions.OPTIONAL),
|
new SchemaNodeScaler("mobGriefing", TagType.TAG_STRING),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue