mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-11-26 04:05:48 +01:00
Fix saving issue
This commit is contained in:
parent
fda9e62467
commit
fc28ea9419
@ -82,7 +82,9 @@ public class HopperManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
HopperImpl hopper = addHopper(new HopperImpl(location));
|
HopperImpl hopper = addHopper(new HopperImpl(location));
|
||||||
this.plugin.getDataManager().delete(hopper);
|
this.plugin.getDataManager().save(hopper);
|
||||||
|
this.registeredHoppers.put(location, hopper);
|
||||||
|
return hopper;
|
||||||
}
|
}
|
||||||
return this.registeredHoppers.get(location);
|
return this.registeredHoppers.get(location);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user