Agentleader1

Bukkit Forums Response toward Agentleader1

May 27th, 2015
471
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Rating implements Listener{
  2.     public Agentleader1 me = this.getPoster();
  3.     public void signature(){
  4.     if(me.wasHelpful()){
  5.         me.giveLike(true);
  6.     }
  7.     if(me.notClear() || me.isNeeded()){
  8.         Forums bukkit = BukkitForums.getForum();
  9.         Tahg tag = bukkit.tahg(me);
  10.         bukkit.postTahg(tag);
  11.     }
  12.         if(me.solvedIssue()){
  13.                 me.giveFollow(true);
  14.         }
  15.     }
  16.     @EventHandler
  17.     public void onCheckForums(BukkitForumCheckEvent bfce){
  18.         Forums bukkit = bfce.getForum();
  19.         if(bukkit.isTahged(me)){
  20.                     me.respond(bukkit.getTahg(me));
  21.             }else{
  22.                     me.ignore();
  23.             me.logOff();
  24.             }
  25.     }
  26. }
RAW Paste Data