3
0

ignore already track error

This commit is contained in:
聪聪 2017-06-25 19:06:45 +08:00
parent df4652de03
commit baa004ce49

View File

@ -36,6 +36,15 @@
if (p_72785_2_ > this.entityViewDistance) if (p_72785_2_ > this.entityViewDistance)
{ {
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 @@ @@ -223,7 +225,9 @@
}); });
p_72785_1_.addEntityCrashInfo(crashreportcategory); p_72785_1_.addEntityCrashInfo(crashreportcategory);