diff --git a/nukkit/src/main/java/com/boydti/fawe/nukkit/core/converter/MCAFile2LevelDB.java b/nukkit/src/main/java/com/boydti/fawe/nukkit/core/converter/MCAFile2LevelDB.java index 48b23c76..3b486c2f 100644 --- a/nukkit/src/main/java/com/boydti/fawe/nukkit/core/converter/MCAFile2LevelDB.java +++ b/nukkit/src/main/java/com/boydti/fawe/nukkit/core/converter/MCAFile2LevelDB.java @@ -183,6 +183,11 @@ public class MCAFile2LevelDB implements Closeable { Long time = tag.getLong("Time"); map.put("CurrentTick", new LongTag(time == null ? 0L : time)); map.put("spawnMobs", new ByteTag((byte) 1)); + Long lastPlayed = tag.getLong("LastPlayed"); + if (lastPlayed != null && lastPlayed > Integer.MAX_VALUE) { + lastPlayed = lastPlayed / 1000; + map.put("LastPlayed", new LongTag(lastPlayed)); + } } ByteArrayOutputStream baos = new ByteArrayOutputStream();