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

Commit

Permalink
Fix [Paper-0164]
Browse files Browse the repository at this point in the history
  • Loading branch information
Loyisa authored Nov 21, 2021
1 parent 514e752 commit 0e16a2f
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 0e16a2f

Please sign in to comment.