mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-02-15 19:31:58 +01:00
Don't save the lowest level to file.
This commit is contained in:
parent
5666ef6942
commit
b6bde40ce7
@ -31,7 +31,7 @@ public abstract class Storage {
|
||||
* Dump HopperManager to file.
|
||||
*/
|
||||
for (Hopper hopper : new ArrayList<>(instance.getHopperManager().getHoppers().values())) {
|
||||
if (hopper.getLevel() == null || hopper.getLocation() == null)
|
||||
if (hopper.getLevel() == null || hopper.getLocation() == null || hopper.getLevel() == instance.getLevelManager().getLowestLevel())
|
||||
continue;
|
||||
|
||||
String locationStr = Methods.serializeLocation(hopper.getLocation());
|
||||
|
Loading…
Reference in New Issue
Block a user