diff --git a/src/main/java/org/spout/nbt/Tag.java b/src/main/java/org/spout/nbt/Tag.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/spout/nbt/Tag.java
+++ b/src/main/java/org/spout/nbt/Tag.java
@@ -75,6 +75,10 @@ public abstract class Tag {
 	 * @return a clone of the map
 	 */
 	public static Map<String, Tag> cloneMap(Map<String, Tag> map) {
+		if (map == null) {
+			return null;
+		}
+
 		Map<String, Tag> newMap = new HashMap<String, Tag>();
 		for (Entry<String, Tag> entry : map.entrySet()) {
 			newMap.put(entry.getKey(), entry.getValue().clone());
Check for null in cloneMap