Last active
October 19, 2017 21:41
-
-
Save brcdev/3018fa77c0758a02d85f5bf5cc79dda8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.brcdev.shopgui.api.event; | |
import net.brcdev.shopgui.api.ShopTransactionResult; | |
import org.bukkit.event.Event; | |
import org.bukkit.event.HandlerList; | |
public class ShopPostTransactionEvent extends Event { | |
private static final HandlerList handlers = new HandlerList(); | |
private final ShopTransactionResult result; | |
public ShopPostTransactionEvent(ShopTransactionResult result) { | |
this.result = result; | |
} | |
@Override | |
public HandlerList getHandlers() { | |
return handlers; | |
} | |
public static HandlerList getHandlerList() { | |
return handlers; | |
} | |
public ShopTransactionResult getResult() { | |
return result; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am sorry @brcdev, but you lack
method, and that causes issues when I attempt to integrate your plugin.