-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't workingpendingThis issue or pull request still needs to be looked atThis issue or pull request still needs to be looked at
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.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpendingThis issue or pull request still needs to be looked atThis issue or pull request still needs to be looked at