rlf / uSkyBlock

The best skyblock bukkit plugin around...
http://dev.bukkit.org/bukkit-plugins/uskyblock/
GNU General Public License v3.0
76 stars 112 forks source link

command to run in challenges #1235

Open arizrain1 opened 5 years ago

arizrain1 commented 5 years ago

DEV 192 (git 5fa92).jar


 I can not get Challenges to ever run the command upon completion.....

    https://gyazo.com/185a4228ed1c8897342215ec1460faca

    @Linkforsoad please help 

What steps will reproduce the problem?

  1. We make sure we complete the challenge correctly
  2. The command we set is never run through console
  3. So the player never receives the command reward.

    https://gyazo.com/185a4228ed1c8897342215ec1460faca

(Not following the template will result in closing the issue.)

Muspah commented 5 years ago

Hi,

I saw your message on SpigotMC, but it is a busy weekend over here. Going to look into it tomorrow :)

Simon

Muspah commented 5 years ago

Talked about it on SpigotMC forums, the fix was easy: remove the space between console: and the command.

I'd like to keep this one open for now as a todo-item, moving the code that executes commands to a more appropriate place (instead of the main class) and make it more robust and "fault"-tolerant.