mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-02-18 12:51:31 +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.
|
* 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)
|
if (hopper.getLevel() == null || hopper.getLocation() == null)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user