diff --git a/src/main/java/de/teamlapen/vampirism/entity/player/actions/ActionHandler.java b/src/main/java/de/teamlapen/vampirism/entity/player/actions/ActionHandler.java index 58295a25d4..e0781f83c0 100755 --- a/src/main/java/de/teamlapen/vampirism/entity/player/actions/ActionHandler.java +++ b/src/main/java/de/teamlapen/vampirism/entity/player/actions/ActionHandler.java @@ -100,9 +100,13 @@ public void deactivateAllActions() { @Override public void extendActionTimer(@NotNull ILastingAction action, int duration) { - int i = activeTimers.getOrDefault(RegUtil.id(action), -1); + ResourceLocation id = RegUtil.id(action); + int i = activeTimers.getOrDefault(id, -1); if (i > 0) { - activeTimers.put(RegUtil.id(action), i + duration); + activeTimers.put(id, i + duration); + int expectedDuration = this.expectedDurations.getInt(id); + expectedDurations.put(id, expectedDuration + duration); + dirty = true; } }