From ac02a672aceb288703d6ea14593bd9d746d6301d Mon Sep 17 00:00:00 2001 From: Justin Aquadro Date: Sun, 27 Jan 2013 19:32:25 -0500 Subject: [PATCH] Fixed casing error in playerGameType property of Player class --- SubstrateCS/Source/Player.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SubstrateCS/Source/Player.cs b/SubstrateCS/Source/Player.cs index 6e7e2fc..b1bcb2c 100644 --- a/SubstrateCS/Source/Player.cs +++ b/SubstrateCS/Source/Player.cs @@ -141,7 +141,7 @@ namespace Substrate new SchemaNodeScaler("XpLevel", TagType.TAG_INT, SchemaOptions.OPTIONAL), new SchemaNodeScaler("XpTotal", 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 SchemaNodeScaler("flying", TagType.TAG_BYTE), new SchemaNodeScaler("instabuild", TagType.TAG_BYTE), @@ -603,7 +603,7 @@ namespace Substrate tree["Score"] = new TagNodeInt(_score ?? 0); if (_gameType != null) - tree["PlayerGameType"] = new TagNodeInt((int)(_gameType ?? PlayerGameType.Survival)); + tree["playerGameType"] = new TagNodeInt((int)(_gameType ?? PlayerGameType.Survival)); if (AbilitiesSet()) { TagNodeCompound pb = new TagNodeCompound();