diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemDespawnEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemDespawnEvent.java index 20db4a9ff..3653ff093 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemDespawnEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemDespawnEvent.java @@ -19,17 +19,23 @@ public class ShopDisplayItemDespawnEvent extends Event implements Cancellable { private ItemStack iStack; private DisplayType displayType; - /* + /** * This event is called before the shop display item created + * @param shop Target shop + * @param iStack Target itemstacck */ + @Deprecated public ShopDisplayItemDespawnEvent(Shop shop, ItemStack iStack) { this.shop = shop; this.iStack = iStack; this.displayType = DisplayItem.getNowUsing(); } - /* + /** * This event is called before the shop display item created + * @param shop Target shop + * @param iStack Target itemstacck + * @param displayType The displayType */ public ShopDisplayItemDespawnEvent(Shop shop, ItemStack iStack, DisplayType displayType) { this.shop = shop; diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemSpawnEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemSpawnEvent.java index 4b7fd0864..359cfc503 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemSpawnEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopDisplayItemSpawnEvent.java @@ -18,8 +18,11 @@ public class ShopDisplayItemSpawnEvent extends Event implements Cancellable { private ItemStack iStack; private DisplayType displayType; - /* + /** * This event is called before the shop display item created + * @param shop Target shop + * @param displayType The displayType + * @param iStack Target ItemStack */ public ShopDisplayItemSpawnEvent(Shop shop, ItemStack iStack, DisplayType displayType) { this.shop = shop; @@ -27,9 +30,12 @@ public class ShopDisplayItemSpawnEvent extends Event implements Cancellable { this.displayType = displayType; } - /* + /** * This event is called before the shop display item created + * @param shop Target shop + * @param displayType The displayType */ + @Deprecated public ShopDisplayItemSpawnEvent(Shop shop, ItemStack iStack) { this.shop = shop; this.iStack = iStack;