From 46c63ed841ab1f0b99a9e3eecc0b12806607902a Mon Sep 17 00:00:00 2001 From: riking Date: Tue, 3 Jun 2014 18:21:28 -0700 Subject: [PATCH] TODO entries --- src/me/libraryaddict/disguise/disguisetypes/Disguise.java | 1 + src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/me/libraryaddict/disguise/disguisetypes/Disguise.java b/src/me/libraryaddict/disguise/disguisetypes/Disguise.java index cf6b01aa..b4167941 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/Disguise.java +++ b/src/me/libraryaddict/disguise/disguisetypes/Disguise.java @@ -181,6 +181,7 @@ public abstract class Disguise { private int deadTicks = 0; private int refreshDisguise = 0; + // TODO refactor public void run() { // If entity is no longer valid. Remove it. if (!getEntity().isValid()) { diff --git a/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java index 41a65f96..352c96e1 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java @@ -70,6 +70,7 @@ public class FlagWatcher { try { cloned = getClass().getConstructor(Disguise.class).newInstance(owningDisguise); } catch (Exception e) { + // TODO: This will throw NPE e.printStackTrace(); } cloned.entityValues = (HashMap) entityValues.clone();