PlotSquared icon indicating copy to clipboard operation
PlotSquared copied to clipboard

Address deprecated armor methods in `ReplicatingEntityWrapper`

Open NotMyFault opened this issue 2 years ago • 0 comments

https://github.com/IntellectualSites/PlotSquared/blob/main/Bukkit/src/main/java/com/plotsquared/bukkit/entity/ReplicatingEntityWrapper.java#L208-L210

calls the deprecated armor stand methods. Rather, the ItemStack call should be updated to call stand#getItem() and check for an EquipmentSlot individually, matching all parts of the player.

NotMyFault avatar Sep 16 '23 19:09 NotMyFault