Fix saving issue

This commit is contained in:
ceze88 2023-09-04 19:59:11 +02:00
parent fda9e62467
commit fc28ea9419

View File

@ -82,7 +82,9 @@ public class HopperManager {
}
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);
}