Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improvements to clipboard on disk #2162

Merged
merged 2 commits into from
Mar 29, 2023

Conversation

dordsor21
Copy link
Member

@dordsor21 dordsor21 commented Mar 25, 2023

@dordsor21 dordsor21 requested a review from a team as a code owner March 25, 2023 13:10
@github-actions github-actions bot added the Feature This PR adds a new feature label Mar 25, 2023
 - close clipboard on instantiation failure
 - set canHaveBiomes when loading clipboard from disk (only possible cause I can find for #2151 ..?)
 - check file length and give more appropriate error if it exceeds maximum. Fixes #2151 I guess?#
 - set byteBuffer to null before invoking cleaning. Addresses #1985
 - don't catch and print all exceptions when getBlock fails - prevents large console output for what is likely to be a failed operation anyway
@dordsor21 dordsor21 force-pushed the feature/disk-clipboard-safety-improvements branch from 3d4522c to d3d1212 Compare March 25, 2023 13:24
@dordsor21 dordsor21 requested a review from SirYwell March 25, 2023 14:54
Copy link
Member

@SirYwell SirYwell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't really test for any of these but code-wise it looks good now

@NotMyFault NotMyFault merged commit 508b94d into main Mar 29, 2023
@NotMyFault NotMyFault deleted the feature/disk-clipboard-safety-improvements branch March 29, 2023 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature This PR adds a new feature
Projects
None yet
3 participants