Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PreRemove extends Event implements Cancellable {
- private boolean cancelled;
- private String some;
- private String some2;
- private static final HandlerList handlers = new HandlerList();
- public PreRemove(String some, String some2) {
- this.some = some;
- this.some2 = some2;
- }
- public String getSome() {
- return some;
- }
- public String getSome2() {
- return some2;
- }
- @Override
- public boolean isCancelled() {
- return cancelled;
- }
- @Override
- public void setCancelled(boolean cancel) {
- cancelled = cancel;
- }
- @Override
- public @NotNull HandlerList getHandlers() {
- return handlers;
- }
- public static HandlerList getHandlerList() {
- return handlers;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment