Open
Description
General Troubleshooting
- I am using the latest version of the LabyMod 4 Server API.
- I am using the latest version of LabyMod.
- I have checked for similar issues on the Issue-tracker.
- I have checked for Pull Requests that might already address this issue.
Platforms
Velocity
Affected Minecraft Version(s)
1.21.x
Expected Behaviour
Perspective mode should be disabled even if it was enabled on a another server.
Code Example for Reproduction Steps
@Subscribe
public void onLabyPlayerJoin(LabyModPlayerJoinEvent e) {
// Both of these cause the issue.
//e.labyModPlayer().disableAddons("betterperspective");
BetterPerspectivePlayer betterPerspectivePlayer = e.labyModPlayer().getIntegrationPlayer(BetterPerspectivePlayer.class);
betterPerspectivePlayer.denyUnlockCamera();
}
Exception or Error
N/A
Additional Information
Perspective stays enabled on servers where it should be disabled if it was enabled before.