Skip to content

Commit

Permalink
fix NBTTranslator for TAG_LONG_ARRAY
Browse files Browse the repository at this point in the history
  • Loading branch information
Faithcaio committed Oct 13, 2023
1 parent ff354f7 commit 928ecde
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 928ecde

Please sign in to comment.