Ender IO Zoo

Ender IO Zoo

968k Downloads

Config useSneakMouseWheelYetaWrench ignored by Ender IO

Psithief opened this issue ยท 5 comments

commented

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

2016-01-23_23 14 08

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
commented
    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?

commented

๐Ÿ‘

commented

I certainly restarted the game many times, is there anything else I can try?

commented

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!

commented

Thx, that was well hidden. I think the key came later.