forked from mirrors/NBTExplorer
Fixed casing error in playerGameType property of Player class
This commit is contained in:
parent
9efe5092ac
commit
ac02a672ac
1 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ namespace Substrate
|
||||||
new SchemaNodeScaler("XpLevel", TagType.TAG_INT, SchemaOptions.OPTIONAL),
|
new SchemaNodeScaler("XpLevel", TagType.TAG_INT, SchemaOptions.OPTIONAL),
|
||||||
new SchemaNodeScaler("XpTotal", TagType.TAG_INT, SchemaOptions.OPTIONAL),
|
new SchemaNodeScaler("XpTotal", TagType.TAG_INT, SchemaOptions.OPTIONAL),
|
||||||
new SchemaNodeScaler("Score", TagType.TAG_INT, SchemaOptions.OPTIONAL),
|
new SchemaNodeScaler("Score", TagType.TAG_INT, SchemaOptions.OPTIONAL),
|
||||||
new SchemaNodeScaler("PlayerGameType", TagType.TAG_INT, SchemaOptions.OPTIONAL),
|
new SchemaNodeScaler("playerGameType", TagType.TAG_INT, SchemaOptions.OPTIONAL),
|
||||||
new SchemaNodeCompound("abilities", new SchemaNodeCompound("") {
|
new SchemaNodeCompound("abilities", new SchemaNodeCompound("") {
|
||||||
new SchemaNodeScaler("flying", TagType.TAG_BYTE),
|
new SchemaNodeScaler("flying", TagType.TAG_BYTE),
|
||||||
new SchemaNodeScaler("instabuild", TagType.TAG_BYTE),
|
new SchemaNodeScaler("instabuild", TagType.TAG_BYTE),
|
||||||
|
@ -603,7 +603,7 @@ namespace Substrate
|
||||||
tree["Score"] = new TagNodeInt(_score ?? 0);
|
tree["Score"] = new TagNodeInt(_score ?? 0);
|
||||||
|
|
||||||
if (_gameType != null)
|
if (_gameType != null)
|
||||||
tree["PlayerGameType"] = new TagNodeInt((int)(_gameType ?? PlayerGameType.Survival));
|
tree["playerGameType"] = new TagNodeInt((int)(_gameType ?? PlayerGameType.Survival));
|
||||||
|
|
||||||
if (AbilitiesSet()) {
|
if (AbilitiesSet()) {
|
||||||
TagNodeCompound pb = new TagNodeCompound();
|
TagNodeCompound pb = new TagNodeCompound();
|
||||||
|
|
Loading…
Reference in a new issue