From 0a4fb615fc633528dbb79f7b746589db4c83344b Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Wed, 22 Jun 2011 17:23:44 -0400 Subject: [PATCH] Added missing 'implements Cancellable' to several classes. By: EvilSeph --- .../main/java/org/bukkit/event/block/BlockPhysicsEvent.java | 5 ++--- .../java/org/bukkit/event/player/PlayerBucketFillEvent.java | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/event/block/BlockPhysicsEvent.java b/paper-api/src/main/java/org/bukkit/event/block/BlockPhysicsEvent.java index 70e0ebc5c7..b8e920ba9f 100644 --- a/paper-api/src/main/java/org/bukkit/event/block/BlockPhysicsEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/block/BlockPhysicsEvent.java @@ -2,13 +2,12 @@ package org.bukkit.event.block; import org.bukkit.block.Block; import org.bukkit.Material; +import org.bukkit.event.Cancellable; /** * Thrown when a block physics check is called - * - * @author Dinnerbone */ -public class BlockPhysicsEvent extends BlockEvent { +public class BlockPhysicsEvent extends BlockEvent implements Cancellable { private final int changed; private boolean cancel = false; diff --git a/paper-api/src/main/java/org/bukkit/event/player/PlayerBucketFillEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerBucketFillEvent.java index 5002ca8d9e..3fef2f7dfd 100644 --- a/paper-api/src/main/java/org/bukkit/event/player/PlayerBucketFillEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/player/PlayerBucketFillEvent.java @@ -4,9 +4,10 @@ import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; import org.bukkit.entity.Player; +import org.bukkit.event.Cancellable; import org.bukkit.inventory.ItemStack; -public class PlayerBucketFillEvent extends PlayerEvent { +public class PlayerBucketFillEvent extends PlayerEvent implements Cancellable { ItemStack itemStack; boolean cancelled = false; Block blockClicked;