Skip to content

Commit

Permalink
Add a space before NBT in item string format
Browse files Browse the repository at this point in the history
  • Loading branch information
d0by1 committed Nov 5, 2023
1 parent a83cd58 commit e92b9bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public static HologramItem fromItemStack(ItemStack itemStack) {
NBTItem nbtItem = new NBTItem(itemStack);
if (nbtItem.hasTag("CustomModelData")) {
int customModelData = nbtItem.getInteger("CustomModelData");
stringBuilder.append("{CustomModelData:").append(customModelData).append("}");
stringBuilder.append(" {CustomModelData:").append(customModelData).append("}");
}
return new HologramItem(stringBuilder.toString());
}
Expand Down

0 comments on commit e92b9bd

Please sign in to comment.