From df4eb0a2c94664b595b2d9d564e2fec5c2d56509 Mon Sep 17 00:00:00 2001 From: Hunter19823 Date: Sat, 11 Nov 2023 15:54:16 -0700 Subject: [PATCH] Added save to FabricEventHandler --- .../main/java/pie/ilikepiefoo/fabric/FabricEventHandler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fabric/src/main/java/pie/ilikepiefoo/fabric/FabricEventHandler.java b/fabric/src/main/java/pie/ilikepiefoo/fabric/FabricEventHandler.java index 728bd83..d37cf3b 100644 --- a/fabric/src/main/java/pie/ilikepiefoo/fabric/FabricEventHandler.java +++ b/fabric/src/main/java/pie/ilikepiefoo/fabric/FabricEventHandler.java @@ -8,6 +8,7 @@ import net.fabricmc.fabric.api.entity.event.v1.EntitySleepEvents; import net.minecraft.client.renderer.LevelRenderer; import net.minecraft.world.entity.LivingEntity; +import pie.ilikepiefoo.config.FeatureFlags; import pie.ilikepiefoo.fabric.events.elytra.AllowElytraFlightEventJS; import pie.ilikepiefoo.fabric.events.elytra.CustomElytraFlightEventJS; import pie.ilikepiefoo.fabric.events.hud.HudRenderEventJS; @@ -34,6 +35,7 @@ public static void init() { feature("Clientside Event Handlers", FabricEventHandler::registerClient); } feature("Serverside Event Handlers", FabricEventHandler::registerServer); + FeatureFlags.INSTANCE.save(); } private static void registerClient() {