Fix annotation mistakes

This commit is contained in:
Nassim Jahnke
2025-03-23 22:33:28 +01:00
parent 2aad131e74
commit bb3b7e6979
2 changed files with 2 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ import org.bukkit.event.Cancellable;
import org.bukkit.event.HandlerList;
import org.bukkit.inventory.EquipmentSlot;
import org.bukkit.inventory.ItemStack;
import org.checkerframework.checker.signature.qual.InternalForm;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -50,7 +50,7 @@ public class EntityShootBowEvent extends EntityEvent implements Cancellable {
}
// Paper end
@InternalForm
@ApiStatus.Internal
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) {
super(shooter);
this.bow = bow;

View File

@@ -4,7 +4,6 @@ import java.util.Collections;
import org.bukkit.Material;
import org.bukkit.NamespacedKey;
import org.bukkit.material.MaterialData;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
/**
@@ -41,7 +40,6 @@ public class FurnaceRecipe extends CookingRecipe<FurnaceRecipe> {
* @param experience The experience given by this recipe
* @param cookingTime The cooking time (in ticks)
*/
@ApiStatus.Internal
public FurnaceRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull Material source, float experience, int cookingTime) {
this(key, result, source, 0, experience, cookingTime);
}
@@ -60,7 +58,6 @@ public class FurnaceRecipe extends CookingRecipe<FurnaceRecipe> {
* @param experience The experience given by this recipe
* @param cookingTime The cooking time (in ticks)
*/
@ApiStatus.Internal
public FurnaceRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) {
super(key, result, input, experience, cookingTime);
}