Skip to content

Commit

Permalink
Added missing TYPE_DOUBLE in NBTConstants.getClassFromType().
Browse files Browse the repository at this point in the history
  • Loading branch information
sk89q committed Aug 24, 2012
1 parent 316c613 commit 2bc86ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/sk89q/jnbt/NBTConstants.java
Expand Up @@ -84,6 +84,8 @@ public static Class<? extends Tag> getClassFromType(int id) {
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:
Expand Down

0 comments on commit 2bc86ea

Please sign in to comment.