mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 21:07:36 +01:00
Fixed 'Entity is already tracked' issues.
This commit is contained in:
parent
41a2bc9690
commit
1f2c44e657
@ -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 New Issue
Block a user