diff --git a/CSGSI/Nodes/NodeBase.cs b/CSGSI/Nodes/NodeBase.cs
index 3d2b495..cc271d9 100644
--- a/CSGSI/Nodes/NodeBase.cs
+++ b/CSGSI/Nodes/NodeBase.cs
@@ -12,7 +12,7 @@ public class NodeBase
///
/// The data that was passed via JSON.
///
- protected JObject _data;
+ protected readonly JObject _data;
///
/// The raw JSON string that was used to construct this node.
@@ -22,7 +22,7 @@ public class NodeBase
///
/// Whether or not this node contains data (i.e. JSON string is not empty)
///
- public bool HasData => !string.IsNullOrWhiteSpace(JSON);
+ public bool HasData { get; private set; }
internal NodeBase(string json)
{
@@ -31,6 +31,7 @@ internal NodeBase(string json)
if (json.Equals("") || json.Equals("true", StringComparison.InvariantCultureIgnoreCase))
{
json = "{}";
+ HasData = false;
}
_data = JObject.Parse(json);
JSON = json;
diff --git a/CSGSI/Nodes/WeaponNode.cs b/CSGSI/Nodes/WeaponNode.cs
index 5e4b150..1dc9f13 100644
--- a/CSGSI/Nodes/WeaponNode.cs
+++ b/CSGSI/Nodes/WeaponNode.cs
@@ -131,7 +131,12 @@ public enum WeaponType
///
/// Melee weapons (such as hammer/wrench) in Danger Zone.
///
- Melee
+ Melee,
+
+ ///
+ /// Bump mine in Danger Zone.
+ ///
+ BumpMine
}
///