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.
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
Plugin List Backend Server Plugins: ViewDistanceTweaks v1.5.7 (disabled)
Additional Information