mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 03:43:40 +01:00
Fix incorrect inequality in eae7eb06df
Thanks Brokkoli & Phoenix616 for pointing out By: md_5 <git@md-5.net>
This commit is contained in:
parent
cf59b7f501
commit
8587d2f03a
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ class CraftMetaItem implements ItemMeta, Damageable, Repairable, BlockDataMeta {
|
|||
NBTTagList tagList = new NBTTagList();
|
||||
for (IChatBaseComponent value : list) {
|
||||
// SPIGOT-5342 - horrible hack as 0 version does not go through the Mojang updater
|
||||
tagList.add(new NBTTagString(0 <= version || version >= 1803 ? CraftChatMessage.toJSON(value) : CraftChatMessage.fromComponent(value, EnumChatFormat.DARK_PURPLE))); // SPIGOT-4935
|
||||
tagList.add(new NBTTagString(version <= 0 || version >= 1803 ? CraftChatMessage.toJSON(value) : CraftChatMessage.fromComponent(value, EnumChatFormat.DARK_PURPLE))); // SPIGOT-4935
|
||||
}
|
||||
|
||||
return tagList;
|
||||
|
|
Loading…
Reference in a new issue