Skip to content

Commit

Permalink
Fix ItemStackToString (/petadmin info item)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakllp committed Nov 23, 2024
1 parent 641b68f commit 5c59178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ public String getLastDamageSource(LivingEntity e) {
@Override
public String itemstackToString(org.bukkit.inventory.ItemStack itemStack) {
ItemStack stack = CraftItemStack.asNMSCopy(itemStack);
return ItemStackNBTConverter.itemStackToVanillaCompound(stack).toString();
return ". " + ItemStackNBTConverter.itemStackToVanillaCompound(stack).toString();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ public String getLastDamageSource(LivingEntity e) {
@Override
public String itemstackToString(org.bukkit.inventory.ItemStack itemStack) {
ItemStack stack = CraftItemStack.asNMSCopy(itemStack);
return ItemStackNBTConverter.itemStackToVanillaCompound(stack).toString();
return ". " + ItemStackNBTConverter.itemStackToVanillaCompound(stack).toString();
}

@Override
Expand Down

0 comments on commit 5c59178

Please sign in to comment.