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

Command /vdt causes a CommandException when ViewDistanceTweaks plugin is disabled #69

Open
thisisaef opened this issue Sep 13, 2024 · 2 comments

Comments

@thisisaef
Copy link

Describe the bug
When the ViewDistanceTweaks plugin is disabled on the server, executing the /vdt command results in a CommandException. The server attempts to execute the command despite the plugin being disabled, leading to an error in the console.

Expected Behavior
When the ViewDistanceTweaks plugin is disabled, the /vdt command should either be unavailable or should display a message indicating that the plugin is disabled, without throwing an exception.

Actual Behavior
Executing /vdt while the plugin is disabled causes the following error in the server console: https://paste.helpch.at/kaserefehu.css

Steps to Reproduce

  1. Disable the ViewDistanceTweaks plugin on your backend server.
  2. Start the server.
  3. In-game or via console, execute the /vdt command.
  4. Observe the error message in the server console.

Plugin List
Backend Server Plugins:
ViewDistanceTweaks v1.5.7 (disabled)

Additional Information

  • The server is running on Paper version 1.21.1-77-4ff58c4.
  • This issue might be caused by the plugin's command not being properly unregistered when the plugin is disabled.
  • No custom configurations were applied to the ViewDistanceTweaks plugin before disabling it.
@greatericontop
Copy link

This is not a view distance tweaks issue. It is managed by the server, and you can't really fix it without modifying the server software.

@thisisaef
Copy link
Author

Ok, Thank u

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

No branches or pull requests

2 participants