From 63a52404b0f80d489512b76deae40e908c121ca8 Mon Sep 17 00:00:00 2001 From: Strokkur24 <133226102+Strokkur424@users.noreply.github.com> Date: Tue, 24 Dec 2024 13:21:40 +0100 Subject: [PATCH] Rename parameter --- .../org/bukkit/craftbukkit/entity/CraftHumanEntity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java index 77bb2fec30..96cf69b490 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java @@ -839,12 +839,12 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity { return itemEntity; } - private Item dropItemRaw(final ItemStack is, final @Nullable UUID thrower, final boolean throwRandomly) { - if (is == null || is.isEmpty()) { + private Item dropItemRaw(final ItemStack itemStack, final @Nullable UUID thrower, final boolean throwRandomly) { + if (itemStack == null || itemStack.isEmpty()) { return null; } - final ItemEntity droppedEntity = this.getHandle().drop(CraftItemStack.asNMSCopy(is), throwRandomly); + final ItemEntity droppedEntity = this.getHandle().drop(CraftItemStack.asNMSCopy(itemStack), throwRandomly); if (droppedEntity == null) { return null; }