Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Commit

Permalink
Merge pull request #260 from Loyisa/patch-1
Browse files Browse the repository at this point in the history
Fix Paper-0164
  • Loading branch information
Sculas authored Nov 21, 2021
2 parents 514e752 + 0e16a2f commit 499cdc0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,7 @@ public void tickEntities() {
// Paper start - Use alternate implementation with faster contains
java.util.Set<TileEntity> toRemove = java.util.Collections.newSetFromMap(new java.util.IdentityHashMap<>());
toRemove.addAll(this.getTileEntityListUnload());
this.getTileEntityListUnload().removeAll(toRemove);
this.tileEntityList.removeAll(toRemove);
// Paper end
// this.tileEntityList.removeAll(this.c);//c == tileEntityListUnload
//this.h.removeAll(this.c); // PaperSpigot - Remove unused list
Expand Down

0 comments on commit 499cdc0

Please sign in to comment.