mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Fixed 'Entity is already tracked' issues.
This commit is contained in:
1 parent
41a2bc9690
commit
1f2c44e657
1 file changed
+2
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user