Beispiel #1
0
 public void removeAllThieves() {
   for (ThievesPlayer thief : stealingPlayers.keySet()) {
     Player splayer = thief.getPlayer(); // SpoutManager.getPlayer(thief);
     splayer.closeInventory();
     plugin.getMoveChecker().removeThief(thief, getTarget(thief));
   }
   stealingPlayers.clear();
 }
Beispiel #2
0
 public void addThief(ThievesPlayer thief, ThievesPlayer target) {
   stealingPlayers.put(thief, target);
   plugin.getMoveChecker().addThief(thief.getPlayer(), target.getPlayer());
 }