Fixed 'Entity is already tracked' issues.

This commit is contained in:
EvilSeph 2011-05-04 21:25:57 -04:00
parent 41a2bc9690
commit 1f2c44e657

View File

@ -69,7 +69,8 @@ public class EntityTracker {
} }
if (this.b.b(entity.id)) { if (this.b.b(entity.id)) {
throw new IllegalStateException("Entity is already tracked!"); // CraftBukkit - removed exception throw as tracking an already tracked entity theoretically shouldn't cause any issues.
//throw new IllegalStateException("Entity is already tracked!");
} else { } else {
EntityTrackerEntry entitytrackerentry = new EntityTrackerEntry(entity, i, j, flag); EntityTrackerEntry entitytrackerentry = new EntityTrackerEntry(entity, i, j, flag);