Skip to content

Conversation

@basaigh
Copy link
Member

@basaigh basaigh commented Jun 9, 2022

No description provided.

return overworldTag;
public static CompoundTag loadLoginRegistry() {
try {
InputStream inputStream = MinecraftProtocolTest.class.getClassLoader().getResourceAsStream("login_registry.nbt");
Copy link
Member

Choose a reason for hiding this comment

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

This stream and the below stream can probably use try-with-resources to auto-close.

Copy link
Member Author

Choose a reason for hiding this comment

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

Will do

Copy link
Member Author

Choose a reason for hiding this comment

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

Like that?

@Camotoy Camotoy merged commit 94b07ea into GeyserMC:feature/1.19 Jun 13, 2022
@basaigh basaigh deleted the feature/1.19 branch October 19, 2022 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants