From 2e90ef9c6fe954bd699c4feaf96ee9e19671698f Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Mon, 23 Dec 2019 10:34:19 +1100 Subject: [PATCH] Block trace methods do not require hash sets By: md_5 --- paper-api/src/main/java/org/bukkit/entity/LivingEntity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java b/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java index e6249c2bfc..a5ea8f4457 100644 --- a/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java +++ b/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java @@ -54,7 +54,7 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource * This list contains all blocks from the living entity's eye position to * target inclusive. This method considers all blocks as 1x1x1 in size. * - * @param transparent HashSet containing all transparent block Materials (set to + * @param transparent Set containing all transparent block Materials (set to * null for only air) * @param maxDistance this is the maximum distance to scan (may be limited * by server by at least 100 blocks, no less) @@ -71,7 +71,7 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource * collision shapes into account, see {@link #getTargetBlockExact(int, * FluidCollisionMode)}. * - * @param transparent HashSet containing all transparent block Materials (set to + * @param transparent Set containing all transparent block Materials (set to * null for only air) * @param maxDistance this is the maximum distance to scan (may be limited * by server by at least 100 blocks, no less) @@ -86,7 +86,7 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource * The target block will be the last block in the list. This method * considers all blocks as 1x1x1 in size. * - * @param transparent HashSet containing all transparent block Materials (set to + * @param transparent Set containing all transparent block Materials (set to * null for only air) * @param maxDistance this is the maximum distance to scan. This may be * further limited by the server, but never to less than 100 blocks