Skip to content

Commit 935a336

Browse files
committed
fix mixin crashing the game on neoforge
it still doesn't work but only affects creative mode so 🤷
1 parent bdb2de8 commit 935a336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/src/main/java/dev/cammiescorner/camsbackpacks/mixin/EquipableMixin.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
public interface EquipableMixin {
1313

1414
@WrapOperation(method = "swapWithEquipmentSlot", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/item/enchantment/EnchantmentHelper;hasBindingCurse(Lnet/minecraft/world/item/ItemStack;)Z"))
15-
default boolean camsbackpacks$hasBindingCurse(ItemStack stack, Operation<Boolean> original) {
15+
private boolean camsbackpacks$hasBindingCurse(ItemStack stack, Operation<Boolean> original) {
1616
return stack.getItem() instanceof BackpackItem || original.call(stack);
1717
}
1818
}

0 commit comments

Comments
 (0)