1
0
Fork 0

ignore already track error

kcx-1614
聪聪 2017-06-25 19:06:45 +08:00
parent df4652de03
commit baa004ce49
1 changed files with 9 additions and 0 deletions

View File

@ -36,6 +36,15 @@
if (p_72785_2_ > this.entityViewDistance)
{
p_72785_2_ = this.entityViewDistance;
@@ -193,7 +195,7 @@
{
if (this.trackedEntityIDs.containsItem(p_72785_1_.getEntityId()))
{
- throw new IllegalStateException("Entity is already tracked!");
+ return;
}
EntityTrackerEntry entitytrackerentry = new EntityTrackerEntry(p_72785_1_, p_72785_2_, p_72785_3_, p_72785_4_);
@@ -223,7 +225,9 @@
});
p_72785_1_.addEntityCrashInfo(crashreportcategory);