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

Fix compatibility with Future Client #4454

Merged
merged 2 commits into from
Mar 14, 2024
Merged

Fix compatibility with Future Client #4454

merged 2 commits into from
Mar 14, 2024

Conversation

0xTas
Copy link
Contributor

@0xTas 0xTas commented Mar 13, 2024

Type of change

  • Bug fix
  • New feature

Description

I've reimplemented modifyHeight() in PlayerListHudMixin.java to restore mixin compatibility with Future Client and prevent crashes, while maintaining full functionality of the BetterTab module in both clients.

Related issues

This pull request is related to the following issues:
#4422,
#4353,
#4303,
#4141,
#4094

How Has This Been Tested?

I tested these changes on Minecraft version 1.20.4 with the newest versions of both Future Client and Rusherhack installed. No additional conflicts occurred, and both Meteor's BetterTab and Future's ExtraTab function as desired.

This is Meteor's BetterTab on 2b2t:
Meteor BetterTab fixed
and this is Future's ExtraTab right afterwards:
Future ExtraTab compatible

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

I've reimplemented modifyHeight() in PlayerListHudMixin.java to restore mixin compatibility with Future Client, while maintaining full functionality of the BetterTab module in both clients.

I tested these changes on Minecraft 1.20.4 with the newest versions of both Future Client and Rusherhack installed. No additional conflicts occurred.
@0xTas 0xTas mentioned this pull request Mar 13, 2024
5 tasks
I found a problem with my implementation which caused the tab list to take up more space than needed when the max size option was set to a value larger than the amount of players on your server.

This is fixed by using the already-injected collectPlayerEntries() method, instead of referencing the module setting directly.
@Wide-Cat Wide-Cat merged commit 3145c37 into MeteorDevelopment:master Mar 14, 2024
1 check passed
tyrannus00 pushed a commit to tyrannus00/meteor-client that referenced this pull request Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants