Actually remove the unknown entity id. Not the known entity ids..

This commit is contained in:
libraryaddict
2014-06-04 14:20:02 +12:00
parent 239bc6d645
commit 87c0cb4a78
2 changed files with 9 additions and 4 deletions

View File

@@ -263,7 +263,7 @@ public class DisguiseUtilities {
}
return null;
}
public static TargetedDisguise getDisguise(Player observer, Entity entity) {
UUID entityId = entity.getUniqueId();
if (futureDisguises.containsKey(entity.getEntityId())) {
@@ -293,6 +293,10 @@ public class DisguiseUtilities {
return new TargetedDisguise[0];
}
public static HashMap<Integer, HashSet<TargetedDisguise>> getFutureDisguises() {
return futureDisguises;
}
public static Object getGameProfile(String playerName) {
return gameProfiles.get(playerName);
}