Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private <T> void remove(Map<Level, Set<T>> map, Level level, T thing) {
}

private <T> void add(Map<Level, Set<T>> map, Level level, T thing) {
map.computeIfAbsent(level, k -> new HashSet<>()).add(thing);
map.computeIfAbsent(level, k -> Collections.newSetFromMap(new WeakHashMap<>())).add(thing);
}

@Override
Expand Down
1 change: 1 addition & 0 deletions web/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ In the meantime, Botania for Minecraft 1.20.1 may still receive updates for bug
* Fix: Don't let Alfheim portal grab items in the tick it shuts down (e.g. for gluten reasons)
* Fix: Astrolabe no longer attempts to place blocks in the player's head location while underwater
* Fix: Mana bursts going through a nether portal could cause lag spikes
* Fix: Potential client memory leak in ManaNetworkHandler

---

Expand Down