Fix Spigot annotation mistakes
while some of these may of been true, they are extreme cases and cause a ton of noise to plugin developers. Use ApiStatus.Internal instead of Deprecated for actual internal API that continues to have use (internally). These do not help plugin developers if they bring moise noise than value.
This commit is contained in:
@@ -8,6 +8,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
/**
|
||||
* Called when a brewing stand starts to brew.
|
||||
*/
|
||||
@org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
||||
public class BrewingStartEvent extends InventoryBlockStartEvent {
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
@@ -9,6 +9,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
/**
|
||||
* Called when a Campfire starts to cook.
|
||||
*/
|
||||
@org.jetbrains.annotations.ApiStatus.Experimental // Paper
|
||||
public class CampfireStartEvent extends InventoryBlockStartEvent {
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
@@ -17,6 +17,7 @@ public class CrafterCraftEvent extends BlockEvent implements Cancellable {
|
||||
private ItemStack result;
|
||||
private boolean cancelled;
|
||||
|
||||
@org.jetbrains.annotations.ApiStatus.Internal // Paper - fix upstream annotation mistakes
|
||||
public CrafterCraftEvent(@NotNull Block theBlock, @NotNull CraftingRecipe recipe, @NotNull ItemStack result) {
|
||||
super(theBlock);
|
||||
this.result = result;
|
||||
|
||||
Reference in New Issue
Block a user