Kitteh6660 / DramaticDoors

Minecraft Mod for Forge & Fabric: 3-block high doors, in every vanilla variety! End enderman discrimination!
MIT License
6 stars 7 forks source link

[BUG] Shift.BY Issue #87

Closed MadSciSlack closed 1 week ago

MadSciSlack commented 3 months ago

Important Information Minecraft Version: 1.19.2 Mod Loader System: Forge DramaticDoors Version: 3.1.5 Development server environment.

Describe the bug @Inject(@At("INVOKE")) Shift.BY=2 on forge-dramaticdoors_forge.mixins.json:OpenDoorsTaskMixin::handler$cal000$injectStartP1 exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning.

This warning spam has been present for as long as I've used the mod. Is there any way to correct this?

Expected behavior Warnings corrected eventually.

Thanks.

Kitteh6660 commented 3 months ago

It's strange. I've even specified the max shift in mixins.json but for some reason, it's not even recognized.

https://github.com/SpongePowered/Mixin/issues/265

ShetiPhian commented 1 month ago

I found this bug report while hunting for the solution myself.

Looks like max shift goes into the injectors block.

"injectors": {
    "defaultRequire": 1,
    "maxShiftBy": 2
}
Kitteh6660 commented 1 month ago

I will give it a try, thanks!

Kitteh6660 commented 1 week ago

Should be resolved in mod version 3.2.3.