Add TradeSelectEvent

By: Coleman Yantis <diamonddagger590@gmail.com>
This commit is contained in:
Bukkit/Spigot
2019-04-28 12:36:23 +10:00
parent 82854b7bd7
commit b91a465a3f
2 changed files with 71 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
package org.bukkit.inventory;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
@@ -30,4 +31,12 @@ public interface MerchantInventory extends Inventory {
*/
@Nullable
MerchantRecipe getSelectedRecipe();
/**
* Gets the Merchant associated with this inventory.
*
* @return merchant
*/
@NotNull
Merchant getMerchant();
}