IntellectualSites / IntellectualSites/PlotSquared
Address deprecated armor methods in `ReplicatingEntityWrapper`
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 653
- Forks
- 975
- Avg merge
- 2m
- Merged PRs (30d)
- 6
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Bukkit/src/main/java/com/plotsquared/bukkit/entity/ReplicatingEntityWrapper.java at lines 208-210 and inspect how the armor stand equipment is read. Update the deprecated armor methods to use stand#getItem() with individual EquipmentSlot checks, matching all parts of the player. Done means those deprecated calls are no longer used in this location and the project still compiles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100