From 9ca97962fac429c65512cc23dc39d11deefc3c52 Mon Sep 17 00:00:00 2001 From: zontreck Date: Mon, 1 Apr 2024 20:30:14 -0700 Subject: [PATCH] Fix ticks never getting reset --- .../dev/zontreck/otemod/enchantments/EnchantmentEvents.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/dev/zontreck/otemod/enchantments/EnchantmentEvents.java b/src/main/java/dev/zontreck/otemod/enchantments/EnchantmentEvents.java index a6cca87..b1acfe7 100644 --- a/src/main/java/dev/zontreck/otemod/enchantments/EnchantmentEvents.java +++ b/src/main/java/dev/zontreck/otemod/enchantments/EnchantmentEvents.java @@ -29,6 +29,8 @@ public class EnchantmentEvents NightVisionEnchantment.runEntityTick(sp); } + TICKS=0; + } TICKS++;