mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Catch Exception when using converted maps with 128 blocks height
This commit is contained in:
parent
4320e1a201
commit
c2154b0f86
@ -162,8 +162,12 @@ public class SnapshotRestore {
|
||||
|
||||
// Now just copy blocks!
|
||||
for (Vector pos : entry.getValue()) {
|
||||
BaseBlock block = chunk.getBlock(pos);
|
||||
editSession.rawSetBlock(pos, block);
|
||||
try {
|
||||
BaseBlock block = chunk.getBlock(pos);
|
||||
editSession.rawSetBlock(pos, block);
|
||||
} catch (DataException e) {
|
||||
// this is a workaround: just ignore for now
|
||||
}
|
||||
}
|
||||
} catch (MissingChunkException me) {
|
||||
missingChunks.add(chunkPos);
|
||||
|
Loading…
Reference in New Issue
Block a user