From 9fd631d3970d49f93c0db702511296a3a7b21b66 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Mon, 2 Dec 2013 18:43:41 +1300 Subject: [PATCH] Remove debug --- .../libraryaddict/disguise/disguisetypes/TargetedDisguise.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/me/libraryaddict/disguise/disguisetypes/TargetedDisguise.java b/src/me/libraryaddict/disguise/disguisetypes/TargetedDisguise.java index b4c8c573..b3585254 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/TargetedDisguise.java +++ b/src/me/libraryaddict/disguise/disguisetypes/TargetedDisguise.java @@ -17,6 +17,7 @@ public abstract class TargetedDisguise extends Disguise { private List disguiseViewers = new ArrayList(); private TargetType targetType = TargetType.SHOW_TO_EVERYONE_BUT_THESE_PLAYERS; + public boolean canSee(Player player) { return canSee(player.getName()); } @@ -24,10 +25,8 @@ public abstract class TargetedDisguise extends Disguise { public boolean canSee(String playername) { boolean hasPlayer = disguiseViewers.contains(playername); if (targetType == TargetType.SHOW_TO_EVERYONE_BUT_THESE_PLAYERS) { - System.out.print(playername + " can see 1: " + !hasPlayer); return !hasPlayer; } - System.out.print(playername + " can see 2: " + hasPlayer); return hasPlayer; }