mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
Fixed 'Entity is already tracked' issues.
This commit is contained in:
parent
41a2bc9690
commit
1f2c44e657
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue