Towny Classic

Towny Classic

3.2k Downloads

Suggestion: ClickEvent should not use runCommand

o7-hmoe opened this issue ยท 2 comments

commented

Please explain your feature request to the best of your abilities:

When you click on a hoverComponent in a towny menu (for example, /town -> Hover over "Town:" and click), it sends a command as the player. Instead, these ClickEvent.runCommand should call internal methods.

For example

.clickEvent(ClickEvent.runCommand("/towny:" + confirmline));

commented

I don't really understand why we would do this though.

commented

Unfortunately, this isn't possible to implement