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
Fix or suppress deprecation warnings in most code #1404
Conversation
Didn't touch commands or some of Sponge
f4aecee
to
f64a020
Compare
Codecov Report
@@ Coverage Diff @@
## master #1404 +/- ##
=========================================
Coverage 14.99% 14.99%
Complexity 1270 1270
=========================================
Files 778 778
Lines 33123 33136 +13
Branches 3939 3940 +1
=========================================
+ Hits 4967 4969 +2
- Misses 27750 27761 +11
Partials 406 406
Continue to review full report at Codecov.
|
@@ -162,11 +162,15 @@ public void deleteChunks(Actor actor, World world, LocalSession session, | |||
throw new StopExecutionException(TextComponent.of("Failed to write chunk list: " + e.getMessage())); | |||
} | |||
|
|||
actor.print(String.format("%d chunk(s) have been marked for deletion the next time the server starts.", | |||
newBatch.getChunkCount())); | |||
actor.print(TextComponent.of( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was using the deprecation marker for these to indicate it's not translatable yet. Maybe worth making these translatable rather than fixing deprecation by using TextComponent directly
Didn't touch commands or some of Sponge