[1.15.2] Dupe glitch when paired with Corpse mod
BBXMax opened this issue · 4 comments
Using the Quark extract button allows players to take items straight out of the Corpse death history item screen on survival when they are not supposed to.
Config to disable Quark buttons for specific screens is client-side only and cannot be force-disabled by the server. This allows any client who wants to use the glitch to freely re-enable the button for that screen themselves on the Quark config before joining. Is there a way to force disable the extract button for that screen on all clients who join the server?
The Corpse mod developer made this remark if it helps: “It seems that Quark doesn't check if they can actually take the stack from the inventory.”
Unfortunately, we've moved on to 1.16, and this isn't a critical bug. If the Corpse mod dev still supports 1.15 for non-critical issues, I recommend implementing the API hook to make it not be able to get stuff taken out of it.
From the Corpse developer: “I would like to implement this API hook, but unfortunately there is next to no documentation for that.”
Simply implement this and set acceptsTransfer
to false
https://github.com/Vazkii/Quark/blob/master/src/main/java/vazkii/quark/api/ITransferManager.java
Corpse developer: “OK, but how do I get these classes? I can't find their maven repository.”
Me: “Not sure what a maven repository is, but is this it? https://maven.blamejared.com/vazkii/ “
Corpse developer: “Would be nice if they had some kind of example mod implementing their api. I can't just package this stuff into my mod for it to work without quark installed.”