summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-07-04 20:14:38 +0200
committerljfa-ag <ljfa-ag@web.de>2015-07-04 20:14:38 +0200
commite1a24c2f2b3a84073a9988df43fbd63577c3c4f8 (patch)
treea6951eaa36251d697978e3a76c4fc9a49d175300 /include
parent88a7e206f1093f5a638efc74327b364d009d5f8f (diff)
downloadProject-Tick-e1a24c2f2b3a84073a9988df43fbd63577c3c4f8.tar.gz
Project-Tick-e1a24c2f2b3a84073a9988df43fbd63577c3c4f8.zip
Make some value methods null-safe
Diffstat (limited to 'include')
-rw-r--r--include/tag.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tag.h b/include/tag.h
index 980c0437ff..6b037b9a32 100644
--- a/include/tag.h
+++ b/include/tag.h
@@ -40,7 +40,8 @@ enum class tag_type : int8_t
String = 8,
List = 9,
Compound = 10,
- Int_Array = 11
+ Int_Array = 11,
+ Null = -1
};
///Base class for all NBT tag classes