it compiles?

This commit is contained in:
Jake Potrebic
2024-12-15 14:35:59 -08:00
parent 9bb6731cc4
commit 4cc2be301d
7 changed files with 95 additions and 16 deletions

View File

@@ -150,7 +150,7 @@ public class CraftAbstractArrow extends AbstractProjectile implements AbstractAr
@Override
public void setItemStack(final ItemStack stack) {
Preconditions.checkArgument(stack != null, "ItemStack cannot be null");
this.getHandle().setPickupItemStack(CraftItemStack.asNMSCopy(stack));
this.getHandle().setPickupItemStackPublic(CraftItemStack.asNMSCopy(stack));
}
@Override