Add back 1.17.1 and 1.18.1 support

This commit is contained in:
2023-07-23 14:59:05 -05:00
parent a7472b8b2a
commit a07c68e4b3
18 changed files with 1439 additions and 53 deletions

View File

@ -10,8 +10,7 @@ import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.ListTag;
import net.minecraft.nbt.Tag;
import net.minecraft.world.item.ItemStack;
import org.apache.commons.lang.StringUtils;
import org.bukkit.ChatColor;
import org.apache.commons.lang3.StringUtils;
import org.bukkit.craftbukkit.v1_19_R1.inventory.CraftItemStack;
import org.bukkit.entity.Player;
@ -158,10 +157,4 @@ public class AttributeManager implements IAttributeManager
+ ", " + c.getDouble("Amount")));
}
}
@Override
public String colorize(String string)
{
return ChatColor.translateAlternateColorCodes('&', string);
}
}