Skip to content

Commit bb3b7e6

Browse files
committed
Fix annotation mistakes
1 parent 2aad131 commit bb3b7e6

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

paper-api/src/main/java/org/bukkit/event/entity/EntityShootBowEvent.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import org.bukkit.event.HandlerList;
88
import org.bukkit.inventory.EquipmentSlot;
99
import org.bukkit.inventory.ItemStack;
10-
import org.checkerframework.checker.signature.qual.InternalForm;
10+
import org.jetbrains.annotations.ApiStatus;
1111
import org.jetbrains.annotations.NotNull;
1212
import org.jetbrains.annotations.Nullable;
1313

@@ -50,7 +50,7 @@ public EntityShootBowEvent(@NotNull final LivingEntity shooter, @Nullable final
5050
}
5151
// Paper end
5252

53-
@InternalForm
53+
@ApiStatus.Internal
5454
public EntityShootBowEvent(@NotNull final LivingEntity shooter, @Nullable final ItemStack bow, @Nullable final ItemStack consumable, @NotNull final Entity projectile, @NotNull final EquipmentSlot hand, final float force, final boolean consumeItem) {
5555
super(shooter);
5656
this.bow = bow;

paper-api/src/main/java/org/bukkit/inventory/FurnaceRecipe.java

-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import org.bukkit.Material;
55
import org.bukkit.NamespacedKey;
66
import org.bukkit.material.MaterialData;
7-
import org.jetbrains.annotations.ApiStatus;
87
import org.jetbrains.annotations.NotNull;
98

109
/**
@@ -41,7 +40,6 @@ public FurnaceRecipe(@NotNull ItemStack result, @NotNull Material source, int da
4140
* @param experience The experience given by this recipe
4241
* @param cookingTime The cooking time (in ticks)
4342
*/
44-
@ApiStatus.Internal
4543
public FurnaceRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, float experience, int cookingTime) {
4644
this(key, result, source, 0, experience, cookingTime);
4745
}
@@ -60,7 +58,6 @@ public FurnaceRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @Not
6058
* @param experience The experience given by this recipe
6159
* @param cookingTime The cooking time (in ticks)
6260
*/
63-
@ApiStatus.Internal
6461
public FurnaceRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) {
6562
super(key, result, input, experience, cookingTime);
6663
}

0 commit comments

Comments
 (0)