summaryrefslogtreecommitdiffstats
path: root/src/NBT/StringTag.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/NBT/StringTag.hpp')
-rw-r--r--src/NBT/StringTag.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/NBT/StringTag.hpp b/src/NBT/StringTag.hpp
index a120183..0144081 100644
--- a/src/NBT/StringTag.hpp
+++ b/src/NBT/StringTag.hpp
@@ -49,6 +49,10 @@ public:
virtual Type getType() const {
return Type::String;
}
+
+ const std::string & getValue() const {
+ return value;
+ }
};
}