TODO entries
This commit is contained in:
parent
6d6b766823
commit
46c63ed841
@ -181,6 +181,7 @@ public abstract class Disguise {
|
|||||||
private int deadTicks = 0;
|
private int deadTicks = 0;
|
||||||
private int refreshDisguise = 0;
|
private int refreshDisguise = 0;
|
||||||
|
|
||||||
|
// TODO refactor
|
||||||
public void run() {
|
public void run() {
|
||||||
// If entity is no longer valid. Remove it.
|
// If entity is no longer valid. Remove it.
|
||||||
if (!getEntity().isValid()) {
|
if (!getEntity().isValid()) {
|
||||||
|
@ -70,6 +70,7 @@ public class FlagWatcher {
|
|||||||
try {
|
try {
|
||||||
cloned = getClass().getConstructor(Disguise.class).newInstance(owningDisguise);
|
cloned = getClass().getConstructor(Disguise.class).newInstance(owningDisguise);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
// TODO: This will throw NPE
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
cloned.entityValues = (HashMap<Integer, Object>) entityValues.clone();
|
cloned.entityValues = (HashMap<Integer, Object>) entityValues.clone();
|
||||||
|
Loading…
Reference in New Issue
Block a user