Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
Added onUnload method to ExtremeExterminationChamber to not leak the …
Browse files Browse the repository at this point in the history
…world
  • Loading branch information
Pelotrio authored and Dream-Master committed Nov 16, 2023
1 parent 79ce988 commit 8f15e2e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ public void onRemoval() {
}
}

@Override
public void onUnload() {
if (LoaderReference.BloodMagic) MinecraftForge.EVENT_BUS.unregister(this);
}

private static final String WellOfSufferingRitualName = "AW013Suffering";

private static final Item poweredSpawnerItem = Item.getItemFromBlock(EnderIO.blockPoweredSpawner);
Expand Down

0 comments on commit 8f15e2e

Please sign in to comment.