Closed lkoeninger closed 7 years ago
oh nice, thank you!!
mh TagManager constructor is not public so it can not get instanciated without reflection and the isTagged method is not static. Maybe you can modify this a little bit in your next build ;)
You have to aquire an existing instance of the object, via the plugin object:
CombatTagPlus plugin = (CombatTagPlus) Bukkit.getPluginManager().getPlugin("CombatTagPlus");
TagManager tagManager = plugin.getTagManager();
Hey guys,
could you add a kind of API to your plugin that let other plugin developers request if a player is currently in combat? Would be a great extention :)