Saves level data when a player does level
https://github.com/BentoBoxWorld/Level/issues/38
This commit is contained in:
parent
97fb434244
commit
e1dc26fa86
|
@ -180,6 +180,7 @@ public class Level extends Addon {
|
|||
// Add to cache
|
||||
levelsCache.put(targetPlayer, ld);
|
||||
topTen.addEntry(world, targetPlayer, getIslandLevel(world, targetPlayer));
|
||||
handler.saveObject(ld);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue