set hooks onLoad
@@ -54,6 +54,13 @@ public class BoatFly extends ToggleMod {
//ForgeHaxHooks.isNotRowingBoatActivated = false; // items always usable - can not be disabled
}
+ @Override
+ public void onLoad() {
+ ForgeHaxHooks.isNoClampingActivated = noClamp.getAsBoolean();
+ ForgeHaxHooks.isNoBoatGravityActivated = noGravity.getAsBoolean();
+ ForgeHaxHooks.isBoatSetYawActivated = setYaw.getAsBoolean();
+ }
+
@SubscribeEvent
public void onRenderBoat (RenderBoatEvent event) {
