Skip to content

ProtocolLib and ItemsAdder Compatibility Issue: Anvil Repair Function Broken #3572

@yuankun1

Description

@yuankun1

Describe the bug
When both ProtocolLib and ItemsAdder are installed, the anvil cannot properly repair equipment and weapons. When attempting to repair items in the anvil, the repair process fails to complete, or the anvil interface behaves abnormally.

To Reproduce
Steps to reproduce the behavior:

Install and enable both ProtocolLib and ItemsAdder plugins

Enter the game and locate an anvil

Open the anvil interface and attempt to repair any equipment or weapon

Observe that the repair process cannot complete normally or the interface displays errors

Expected behavior
The anvil should normally repair equipment and weapons, just as it would without these two plugins installed.

Screenshots
If applicable, add screenshots to help explain your problem.

Version Info
Provide your ProtocolLib install info with /protocol dump through pastebin.
https://pastebin.com/JNvqr89B

Additional context
Additional information:

This issue only occurs when both ProtocolLib and ItemsAdder are installed together

When either plugin is installed alone, the anvil repair function works properly

There may be compatibility issues with other item-related plugins as well

Server version: [1.21.8]

ProtocolLib version: [5.4.0]

ItemsAdder version: [v4.0.14]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions