Clearing placements on disable

Optimization when we don't want to cache block placements that we don't need.
This commit is contained in:
Daniel E 2019-11-19 18:34:34 -07:00
parent 06252a45af
commit 30718da330
1 changed files with 2 additions and 2 deletions

View File

@ -127,8 +127,8 @@ public final class ObsidianReplaceModule extends Module {
}
@Override
public void onToggle() {
super.onToggle();
public void onDisable() {
super.onDisable();
placementRequests.clear();
}