Closed Vulcano771 closed 2 months ago
I ran your exact code, and had no issues.
I even did a cleanup
on load:
set {_commands::*} to ...AllCommands.getCommandMap().getCommands()
set {_remain} to size of {_commands::*}
loop {_commands::*}:
set {_i} to loop iteration
if loop-value is an instance of PluginCommand:
set {_plugin} to loop-value.getPlugin().getName()
send "&b%{_i}%/%{_remain}%: %loop-value.getLabel()% &7[&a%{_plugin}%&7]"
else:
send "&e%{_i}%/%{_remain}%: %loop-value.getLabel()%"
and this was the outcome:
Needless to say, I personally could not replicate the issue you're having.
Maybe its bcs some of the command idk
Probably due to a command/plugin you have registering something wrong.
When removing the comment (->
set {_plugin} to try {_plugin}.getName()
) it stops saying6 - ...
removing the try ... doesnt help either