Set Deprecated tag

Former-commit-id: e1e00d5fda26d724576688aad5666932d4cbe84d [formerly 7a60156c07b78fcd7521582d8184d0da7865d5b3]
Former-commit-id: 84b9c83af3a8408706a6ba2f271a9b50f36b0f47
This commit is contained in:
Ghost_chu committed 2019-07-16 21:20:01 +08:00
1 parent 5bcb7c3e3e
commit 30a02ac1ba
2 files changed
+16 -4

No files matched your search

@@ -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;
@@ -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;