Skip to content

Commit

Permalink
Add _templateTrait.java.
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Jul 15, 2013
1 parent 08e882b commit dbf5e3a
Showing 1 changed file with 30 additions and 0 deletions.
@@ -0,0 +1,30 @@
package net.aufdemrand.denizen.npc.traits;

import net.citizensnpcs.api.event.NPCLeftClickEvent;
import net.citizensnpcs.api.trait.Trait;
import org.bukkit.event.EventHandler;


public class _templateTrait extends Trait {

// MyPlugin _plugin;

public _templateTrait() {
super("mytrait");
}

@Override
public void onAttach() {
// my_plugin = Bukkit.getPluginManager().getPlugin("my_plugin");
}

@EventHandler
public void leftClick(NPCLeftClickEvent event)
{
if (event.getNPC() == this.getNPC()) {

}
}


}

0 comments on commit dbf5e3a

Please sign in to comment.