Don't crash the server when duplicate block at position

This commit is contained in:
zontreck 2024-04-24 23:53:43 -07:00
parent ab6f9130f0
commit 995e78dec8
2 changed files with 4 additions and 5 deletions

View file

@ -96,10 +96,9 @@ public abstract class BlockRestoreQueue
DatabaseWrapper.get().executePreparedStatement(pstmt);
} catch (SQLException e) {
throw new RuntimeException(e);
} catch (IOException e) {
throw new RuntimeException(e);
} catch (Exception e)
{
// Duplicate block insertion, we only cache each block one time by default. If this function is overridden to use a different table, perhaps multiple blocks for the same position could be cached.
}
}