public class ShopBuySellEvent extends ShopEvent implements org.bukkit.event.Cancellable
Modifier and Type | Class and Description |
---|---|
static class |
ShopBuySellEvent.Type |
Constructor and Description |
---|
ShopBuySellEvent(org.bukkit.entity.Player player,
Shop shop,
ShopBuySellEvent.Type type) |
Modifier and Type | Method and Description |
---|---|
org.bukkit.entity.Player |
getPlayer() |
Shop |
getShop() |
ShopBuySellEvent.Type |
getType() |
boolean |
isCancelled() |
void |
setCancelled(boolean b) |
getHandlers
public ShopBuySellEvent(org.bukkit.entity.Player player, Shop shop, ShopBuySellEvent.Type type)
public ShopBuySellEvent.Type getType()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean b)
setCancelled
in interface org.bukkit.event.Cancellable
Copyright © 2016. All rights reserved.