Saves level data when a player does level

https://github.com/BentoBoxWorld/Level/issues/38
This commit is contained in:
tastybento 2019-02-03 09:36:26 -08:00
parent 97fb434244
commit e1dc26fa86

View File

@ -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);
}
/**