mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-11-26 12:16:18 +01:00
FIx for a weird storage issue.
This commit is contained in:
parent
109fd75dbd
commit
9962c91efc
@ -30,7 +30,7 @@ public abstract class Storage {
|
||||
/*
|
||||
* Dump HopperManager to file.
|
||||
*/
|
||||
for (Hopper hopper : instance.getHopperManager().getHoppers().values()) {
|
||||
for (Hopper hopper : new ArrayList<>(instance.getHopperManager().getHoppers().values())) {
|
||||
if (hopper.getLevel() == null || hopper.getLocation() == null)
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user