cheddar262/Combat-Tag — pull request #41 by Simo389 (2014-12-22 18:59:17+00:00)
Title: Add API Example

So you've depreciated the old API, and added a new one.

Can you please add an example on how to use it on the main Combat Tag page:
https://github.com/TechzoneMC/Combat-Tag

I've tried both accessing it directly in classes:
CombatTagAPI.isNPC(player)

And creating a new instance of it:
public CombatTagAPI CombatTag = null;
CombatTag = new CombatTagAPI(); <- In onEnable

Neither seem to work. I have CombatTag referenced in the plugin.yml, but every time I call the API I get a java.lang.NullPointerException error.