public class ShopCreateEvent extends ShopEvent implements org.bukkit.event.Cancellable
Constructor and Description |
---|
ShopCreateEvent(org.bukkit.entity.Player player,
Shop shop,
double creationPrice) |
Modifier and Type | Method and Description |
---|---|
double |
getCreationPrice() |
org.bukkit.entity.Player |
getPlayer() |
Shop |
getShop() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
getHandlers
public ShopCreateEvent(org.bukkit.entity.Player player, Shop shop, double creationPrice)
public Shop getShop()
public org.bukkit.entity.Player getPlayer()
public double getCreationPrice()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancel)
setCancelled
in interface org.bukkit.event.Cancellable
Copyright © 2016. All rights reserved.