Skip to content
Permalink
Browse files

Fix sentinel forgive, fixes #35

  • Loading branch information...
mcmonkey4eva committed Jul 1, 2016
1 parent f6999a7 commit 2a2be0fe970ccf6592ae2c030f05469e92a88b09
@@ -696,7 +696,7 @@ else if (arg0.equals("spawnpoint") && sender.hasPermission("sentinel.spawnpoint"
return true;
}
else if (arg0.equals("forgive") && sender.hasPermission("sentinel.forgive")) {
sentinel.targets.clear();
sentinel.currentTargets.clear();
sender.sendMessage(prefixGood + "Targets forgiven.");
return true;
}
@@ -882,7 +882,7 @@ public boolean shouldTarget(LivingEntity entity) {
return isTargeted(entity) && !isIgnored(entity);
}

private HashSet<SentinelCurrentTarget> currentTargets = new HashSet<SentinelCurrentTarget>();
public HashSet<SentinelCurrentTarget> currentTargets = new HashSet<SentinelCurrentTarget>();

private HashSet<UUID> greetedAlready = new HashSet<UUID>();

0 comments on commit 2a2be0f

Please sign in to comment.
You can’t perform that action at this time.