Skip to content

ProtocolLib kills custom stonecutter recipes #83

@gbl

Description

@gbl

Describe the bug
When ProtocolLib is loaded, custom stonecutter recipes won't show in the stonecutter GUI and can't be crafted though they show up in the /recipes list. Removing ProtocolLib from plugins makes them work.

To Reproduce
Steps to reproduce the behavior:

  1. Set up a new MC instance. I used paper-1.18.2-252 to do this.
  2. Install customcrafting-spigot-3.16.0.0-f.jar and wolfyutilities-3.16.3.2.jar
  3. Create two stonecutter recipes: 1 acacia plank -> 1 acacia stair; 1 acacia plank -> 2 acacia slabs
  4. Relog and use a stonecutter. Put an acacia plank into the input slot. Both recipes show up and can be used.
  5. Stop the server, install ProtocolLib from the Spigot site (which is 4.8.0; I had the same problem with build 551 from the CI site though), restart the server.
  6. Use the stonecutter - recipes don't show up and can't be crafted
  7. stop the server, remove ProtocolLib, start it again.
  8. Use the stonecutter - recipes reappear.

Expected behavior
The configured recipes show up, and can be crafted, in the stonecutter GUI, no matter if ProtocolLib is installed or not.

Server (please complete the following information):
Paper 1.18.2-252
Minecraft 1.18.2
Java

openjdk version "17.0.1" 2021-10-19
OpenJDK Runtime Environment Temurin-17.0.1+12 (build 17.0.1+12)
OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (build 17.0.1+12, mixed mode, sharing)

customcrafting-spigot-3.16.0.0-f.jar
wolfyutilities-3.16.3.2.jar

Additional context

We had the same problem on our server with Paper 1.18.1, wolfyutilities-3.16.0.0.jar, and customcrafting-spigot-3.16.0.0-f.jar. Not knowing where the issue came from, we downgraded to wolfyutilities-1.8.0.0.jar and customcrafting-spigot-1.7.1.3f.jar, where the stonecutter worked as intended. Had to update Wolfyutilities when upgrading to Paper 1.18.2. though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions