greatman / craftconomy3

A Economy plugin for Bukkit & Canary Recode!
GNU Lesser General Public License v3.0
36 stars 65 forks source link

Fixed /pay always print help #118

Open Aztorius opened 7 years ago

Aztorius commented 7 years ago

When using /pay command, it will always print the result of craftconomy help command. A way of fixing this is using a custom SubCommand because the current one doesn't work with only 1 argument like /pay, but works with /money pay when there is 2 arguments. And this is done in these commits. /money pay will continue to work, but now /pay will also work.