diff --git a/src/main/java/org/spongepowered/common/data/persistence/NBTTranslator.java b/src/main/java/org/spongepowered/common/data/persistence/NBTTranslator.java index 9bb0f65152c..9d63933562d 100644 --- a/src/main/java/org/spongepowered/common/data/persistence/NBTTranslator.java +++ b/src/main/java/org/spongepowered/common/data/persistence/NBTTranslator.java @@ -181,7 +181,7 @@ private static void setInternal(Tag base, byte type, DataView view, String key) checkNotNull(view); checkNotNull(key); checkArgument(!key.isEmpty()); - checkArgument(type > Constants.NBT.TAG_END && type <= Constants.NBT.TAG_INT_ARRAY); + checkArgument(type > Constants.NBT.TAG_END && type <= Constants.NBT.TAG_LONG_ARRAY); switch (type) { case Constants.NBT.TAG_BYTE: if (key.contains(NBTTranslator.BOOLEAN_IDENTIFIER)) {