FancyMcPlugins / FancyNpcs

FancyNpcs is a simple, lightweight and fast npc plugin using packets
https://modrinth.com/plugin/fancynpcs
MIT License
100 stars 23 forks source link

Added support for other CommandSenders #58

Closed OakLoaf closed 8 months ago

OakLoaf commented 8 months ago

I've moved many of the commands over to being runnable on the console, some are unable to still for obvious reasons. I also ammended events and listeners inline with this.

People using the API will need to change from the getPlayer method, I could however, add a deprecated method that returns the player, or null if the command was ran by another CommandSender instance

OliverSchlueter commented 8 months ago

LGTM, thank you!!