From 2bc86ea5258287ae444aa4c2ab5abe5e7f71f366 Mon Sep 17 00:00:00 2001 From: sk89q Date: Fri, 24 Aug 2012 12:28:29 -0700 Subject: [PATCH] Added missing TYPE_DOUBLE in NBTConstants.getClassFromType(). --- src/main/java/com/sk89q/jnbt/NBTConstants.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/sk89q/jnbt/NBTConstants.java b/src/main/java/com/sk89q/jnbt/NBTConstants.java index b66427551..059d0ef25 100644 --- a/src/main/java/com/sk89q/jnbt/NBTConstants.java +++ b/src/main/java/com/sk89q/jnbt/NBTConstants.java @@ -84,6 +84,8 @@ public final class NBTConstants { return LongTag.class; case TYPE_FLOAT: return FloatTag.class; + case TYPE_DOUBLE: + return DoubleTag.class; case TYPE_BYTE_ARRAY: return ByteArrayTag.class; case TYPE_STRING: