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

Update viaproxy to 3.3.0 (MC 1.21 support) #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EnderKill98
Copy link

ViaProxy for the newest version just got released.

Makes viaproxy actually work again, since it couldn't translate MC 1.21 before (current supported on azalea master branch).

@AS1100K
Copy link

AS1100K commented Jun 19, 2024

I was not able to get it running on azalea master branch and got this error:

Error details for report:
NullPointerException: Cannot invoke "String.replace(jav
a.lang.CharSequence, java.lang.CharSequence)" because "name" is null.

The following is my SwarmBuilder:

SwarmBuilder::new()
        .set_handler(handle)
        .set_swarm_handler(swarm_handle)
        .add_plugins(azalea_viaversion::ViaVersionPlugin::start("1.20.6").await)
        .add_plugins(AntiAFKPlugin)
        .add_plugins(TaskManagerPlugin)
        .add_account(account)
        .join_delay(Duration::from_secs(3))
        .start(server_url.as_str())
        .await
        .unwrap();

I know, this issue is not of azalea-viaversion but i was wondering how were you able to get it working.

@EnderKill98
Copy link
Author

Actually I got the same issue at some point as well. Not sure what exactly anymore, but something with versions.

I'm currently pinning the git repos to commits. Some are my own branches (should be the most recent commit).

https://github.com/EnderKill98/stasis-bot/blob/c38c933f37eb1855e93d5094d66358c2eec9b662/Cargo.toml

Maybe it was actually 1.21, which is why I backported my fixes to an older version in hopes of less issues.

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.

None yet

2 participants