diff --git a/src/main/java/org/maxgamer/quickshop/Event/ShopSuccessPurchaseEvent.java b/src/main/java/org/maxgamer/quickshop/Event/ShopSuccessPurchaseEvent.java index 561e6f045..73685e88d 100644 --- a/src/main/java/org/maxgamer/quickshop/Event/ShopSuccessPurchaseEvent.java +++ b/src/main/java/org/maxgamer/quickshop/Event/ShopSuccessPurchaseEvent.java @@ -45,6 +45,8 @@ public class ShopSuccessPurchaseEvent extends QSEvent implements Cancellable { private final double total; //Don't use getter, we have important notice need told dev in javadoc. private boolean cancelled; + + public ShopType type; /** @@ -57,12 +59,13 @@ public class ShopSuccessPurchaseEvent extends QSEvent implements Cancellable { * @param tax The tax in this purchase * @param total The money in this purchase */ - public ShopSuccessPurchaseEvent(@NotNull Shop shop, @NotNull Player player, int amount, double total, double tax) { + public ShopSuccessPurchaseEvent(@NotNull Shop shop, @NotNull Player player, int amount, double total, double tax, @NotNull ShopType type) { this.shop = shop; this.player = player; this.amount = amount; this.tax = tax; this.total = total; + this.type = type; }