
Config useSneakMouseWheelYetaWrench ignored by Ender IO
Psithief opened this issue ยท 5 comments
I changed my EnderIO.cfg to prevent the shift and the mouse wheel from changing the conduit mode, but Ender IO is ignoring the setting.
# If true, shift-mouse wheel will change the conduit display mode when the YetaWrench is equipped.
B:useSneakMouseWheelYetaWrench=false
Are there any known conflicts, or maybe something broke in e673385?
Versions
- Ender IO 1.7.10-2.3.0.423_beta
- Forge 10.13.4.1558
if(Config.useSneakMouseWheelYetaWrench) {
ToolTickHandler th = new ToolTickHandler();
MinecraftForge.EVENT_BUS.register(th);
FMLCommonHandler.instance().bus().register(th);
}
That code is about as straight-forward as it gets. I don't really see a way for it misbehaving...
Did you restart the game after changing the setting?
I found the problem @ /src/main/java/crazypants/enderio/config/Config.java#L726-L729
if(!useSneakMouseWheelYetaWrench && !useSneakRightClickYetaWrench) {
Log.warn("Both useSneakMouseWheelYetaWrench and useSneakRightClickYetaWrench are set to false. Enabling mouse wheel.");
useSneakMouseWheelYetaWrench = true;
}
This behaviour is intentional? But there's a keyboard key for it!