Fixed bug where island level was not being saved.

The chunk scanner needs to report the result after the calculation to
the main class so it can update the cache and save it.
This commit is contained in:
Tastybento 2018-01-01 11:50:13 -08:00
parent 9b823bfcd3
commit 953672c301

View File

@ -178,7 +178,8 @@ public class ChunkScanner {
@Override
public void run() {
// Run any modifications
// Save the value
addon.setIslandLevel(island.getOwner(), result.score);
// All done.
if (asker.isPresent()) {
// Tell the asker the result