EssentialsX

EssentialsX

2M Downloads

Tab-completing /powertool causes spam in console

molor opened this issue ยท 5 comments

commented

Hello.

Steps to reproduce
Type "/powertool" in game chat. Press [Space] then [Tab]. Repeat last step as much as you can. See the useless trash in server console /:

Screenshots
image

commented

What other plugins do you have, this isn't Essentials doing this.

commented

What other plugins do you have, this isn't Essentials doing this.

You isn't tied this?.. Or maybe it's Paper?
image

commented

Confirmed on the following setup:

>.... [08:31:35 INFO]: Server version: 1.16.3-R0.1-SNAPSHOT git-Paper-195 (MC: 1.16.3)
>.... [08:31:35 INFO]: EssentialsX version: 2.18.1.28
>.... [08:31:35 INFO]: LuckPerms version: 5.1.107
>.... [08:31:35 INFO]: Vault version: 1.7.3-b131

Issue occurs when first argument to powertool includes an a:

image

commented

Looks like its caused by this area:

return tabCompleteCommand(sender, server, args[2].substring(2), args, 3);

Then the tabCompleteCommand has a logging for some reason.

ess.getLogger().info(command + " -- " + Arrays.toString(effectiveArgs));

commented

Just a debug message left in