Spelunkery

Spelunkery

80.4k Downloads

Spelunkery and Ensorcellation compability bug

soulknitter opened this issue ยท 2 comments

commented

Compability issue between Spelunkery and Ensorcellation's Soulbound enchantment. When dying with an item with the Soulbound enchantment on them, the item will be duplicated into the inventory.
If it's a worn armor piece, the original will stay equipped, while the duplicated one will end up in the inventory, to be more specific, in the hotbar.
Effects that would affect the item upon death will be applied to both.

Possibly caused by the alterations made to the Recovery Compass

Minecraft version: 1.19.2
Spelunkery version: 1.19.2-0.2.6
Moonlight Lib version: 1.19.2-2.2.44
Forge version: 43.2.21
CoFH Core version: 1.19.2-10.2.1.40
Ensorcellation version: 1.19.2-4.2.0.14

commented

@SiverDX

How would I go about disabling that mixin? is that something that can be done on the user level of it? I am running a server and don't want to lose soulbound, but I'll have to if I can't get the duping to stop.

commented

It seems to be caused by
https://github.com/AstralOrdana/Spelunkery/blob/main/common/src/main/java/com/ordana/spelunkery/mixins/ServerPlayerMixin.java

I'm not sure if that code part is required when using

private static void compassLogic(IDropItemOnDeathEvent event) {

The issue does not occur anymore when disabling that mixin (and the compass is still kept)
Though that could be due to some influence of other mods I have installed