From 9efe5092acf0229a0ebb913b70410a54a69c62b8 Mon Sep 17 00:00:00 2001 From: Justin Aquadro Date: Sun, 13 Jan 2013 20:18:29 -0500 Subject: [PATCH] Fixed TagNodeString being given a null value --- SubstrateCS/Source/Nbt/TagNodeString.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SubstrateCS/Source/Nbt/TagNodeString.cs b/SubstrateCS/Source/Nbt/TagNodeString.cs index 539bfc6..7c075b2 100644 --- a/SubstrateCS/Source/Nbt/TagNodeString.cs +++ b/SubstrateCS/Source/Nbt/TagNodeString.cs @@ -56,6 +56,8 @@ namespace Substrate.Nbt public TagNodeString (string d) { _data = d; + if (_data == null) + _data = ""; } ///