Skip to content

Commit

Permalink
Update to follow importing rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Intybyte committed Sep 30, 2024
1 parent 83d23c8 commit 28d9594
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions patches/server/1065-Create-Limited-set-for-Entity.patch
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,15 @@ 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;
@@ -134,7 +134,6 @@ import net.minecraft.world.scores.Team;
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;
Expand All @@ -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;
Expand Down

0 comments on commit 28d9594

Please sign in to comment.