sekwah41 / Advanced-Portals

An advanced portals plugin for bukkit
GNU Lesser General Public License v3.0
157 stars 65 forks source link

make "portal reload" command usable from the console and rcon #338

Closed tadhunt closed 1 year ago

tadhunt commented 1 year ago

For my use case, I need to be able to reload the portal config from the console and/or rcon. However that doesn't work:

[17:08:29 INFO]: [AdvancedPortals] You cannot use commands with the console.

This small change in the command handler addresses this specific issue. I'm not sure why this restriction is in place, but this results in the behavior I need...

sekwah41 commented 1 year ago

Will take a look at releasing soon. I just need to overhaul some of the release stuff to match my other projects so its a bit nicer to manage.