-
Notifications
You must be signed in to change notification settings - Fork 384
Description
ScriptCraft didn't account for 1.13's new tab completion mechanics. The game automatically provides suggestions as you type, so while you're typing away at a script, like /js jx.player.get('hbms432'), the chat will constantly SPAM the 'name cannot be empty' message (which after hours of searching, comes from a try/catch block on line 59 of ScriptCraftPlugin.java) and the console will be totally SCREWED UP with stack traces galore.
A conditional statement NEEDS to be added which prevents an error from being processed if there are no available tab completions. Either that, or some smart way to avoid the error all together.
This is a BIG PROBLEM for my server because it completely 100% relies on this plugin for EVERYTHING. My embedded discord console (thanks DiscordSRV) has been causing some issues for other operators. Namely, lag from the SHEER DELUGE of messages coming from console.