Deprecate duplicate API for arrow stuck count (#8829)

This commit is contained in:
Jake Potrebic
2023-02-07 07:43:20 -08:00
parent 72de51c57a
commit 3212d9fcf5
6 changed files with 63 additions and 9 deletions

View File

@@ -9,8 +9,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
@@ -0,0 +0,0 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
Preconditions.checkArgument(count >= 0, "New arrow amount must be >= 0");
this.getHandle().getEntityData().set(net.minecraft.world.entity.LivingEntity.DATA_ARROW_COUNT_ID, count);
}
// Paper end
}
+ // Paper Start - Bee Stinger API
+ @Override