mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-11-27 12:38:21 +01:00
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:
parent
9b823bfcd3
commit
953672c301
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user