diff options
author | EvilSeph <evilseph@unaligned.org> | 2011-05-04 21:25:57 -0400 |
---|---|---|
committer | EvilSeph <evilseph@unaligned.org> | 2011-05-04 21:25:57 -0400 |
commit | 1f2c44e657953139b24bc3a1db46bf844b7c9109 (patch) | |
tree | b6b7fb8f1eef5c2dbee32628c6d769832ea6a9fe /src/main/java/net/minecraft/server/EntityTracker.java | |
parent | 41a2bc9690591c086d5b3a0be78e3da7afed7d80 (diff) | |
download | craftbukkit-1f2c44e657953139b24bc3a1db46bf844b7c9109.tar craftbukkit-1f2c44e657953139b24bc3a1db46bf844b7c9109.tar.gz craftbukkit-1f2c44e657953139b24bc3a1db46bf844b7c9109.tar.lz craftbukkit-1f2c44e657953139b24bc3a1db46bf844b7c9109.tar.xz craftbukkit-1f2c44e657953139b24bc3a1db46bf844b7c9109.zip |
Fixed 'Entity is already tracked' issues.
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityTracker.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityTracker.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityTracker.java b/src/main/java/net/minecraft/server/EntityTracker.java index 05b4b2a3..4a7541dc 100644 --- a/src/main/java/net/minecraft/server/EntityTracker.java +++ b/src/main/java/net/minecraft/server/EntityTracker.java @@ -69,7 +69,8 @@ public class EntityTracker { } 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 { EntityTrackerEntry entitytrackerentry = new EntityTrackerEntry(entity, i, j, flag); |