@EventHandler public void onSec(SecondEvent event) { if (HG.HG.gameTime % 240 == 0) for (Gamer g : Gamer.getGamers()) if (g.getKit() == this) { g.getPlayer().getInventory().addItem(getItemss()); g.getPlayer() .sendMessage( ChatColor.GREEN + ChatColor.BOLD.toString() + "You got a new batch of pots!"); } }
protected boolean hasAbillity(Player p) { return Gamer.getGamer(p).getKit() == this; }