diff --git a/patches/server/1065-Create-Limited-set-for-Entity.patch b/patches/server/1065-Create-Limited-set-for-Entity.patch index ada041003a1ab..2f61b17824ef8 100644 --- a/patches/server/1065-Create-Limited-set-for-Entity.patch +++ b/patches/server/1065-Create-Limited-set-for-Entity.patch @@ -58,10 +58,8 @@ index 4b54d0ea31062972e68ee8fafe3cfaf68f65a5cd..f696033cb1d937274ccbb9c04e1c755c import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableList.Builder; import com.google.common.collect.Lists; --import com.google.common.collect.Sets; import com.google.common.collect.UnmodifiableIterator; import com.mojang.logging.LogUtils; -+import io.papermc.paper.entity.PaperLimitedSet; import it.unimi.dsi.fastutil.doubles.DoubleList; import it.unimi.dsi.fastutil.doubles.DoubleListIterator; import it.unimi.dsi.fastutil.floats.FloatArraySet; @@ -69,7 +67,6 @@ index 4b54d0ea31062972e68ee8fafe3cfaf68f65a5cd..f696033cb1d937274ccbb9c04e1c755c import org.slf4j.Logger; import org.bukkit.Bukkit; import org.bukkit.Location; --import org.bukkit.Server; import org.bukkit.block.BlockFace; import org.bukkit.command.CommandSender; import org.bukkit.entity.Hanging; @@ -78,7 +75,7 @@ index 4b54d0ea31062972e68ee8fafe3cfaf68f65a5cd..f696033cb1d937274ccbb9c04e1c755c this.uuid = Mth.createInsecureUUID(this.random); this.stringUUID = this.uuid.toString(); - this.tags = Sets.newHashSet(); -+ this.tags = new PaperLimitedSet(1024); ++ this.tags = new io.papermc.paper.entity.PaperLimitedSet(1024); this.pistonDeltas = new double[]{0.0D, 0.0D, 0.0D}; this.mainSupportingBlockPos = Optional.empty(); this.onGroundNoBlocks = false;