From 30718da33059634a8406e621ca8acb65364a1af2 Mon Sep 17 00:00:00 2001 From: Daniel E Date: Tue, 19 Nov 2019 18:34:34 -0700 Subject: [PATCH] Clearing placements on disable Optimization when we don't want to cache block placements that we don't need. --- .../seppuku/impl/module/combat/ObsidianReplaceModule.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/rigamortis/seppuku/impl/module/combat/ObsidianReplaceModule.java b/src/main/java/me/rigamortis/seppuku/impl/module/combat/ObsidianReplaceModule.java index 299d9c3..9610ca6 100644 --- a/src/main/java/me/rigamortis/seppuku/impl/module/combat/ObsidianReplaceModule.java +++ b/src/main/java/me/rigamortis/seppuku/impl/module/combat/ObsidianReplaceModule.java @@ -127,8 +127,8 @@ public final class ObsidianReplaceModule extends Module { } @Override - public void onToggle() { - super.onToggle(); + public void onDisable() { + super.onDisable(); placementRequests.clear(); }