diff options
Diffstat (limited to 'src/main/java/org/bukkit/event/block/BlockPlacedEvent.java')
-rw-r--r-- | src/main/java/org/bukkit/event/block/BlockPlacedEvent.java | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/main/java/org/bukkit/event/block/BlockPlacedEvent.java b/src/main/java/org/bukkit/event/block/BlockPlacedEvent.java index 8bb409a2..a5ec3299 100644 --- a/src/main/java/org/bukkit/event/block/BlockPlacedEvent.java +++ b/src/main/java/org/bukkit/event/block/BlockPlacedEvent.java @@ -7,24 +7,24 @@ import org.bukkit.event.Cancellable; * Not implemented yet */ public class BlockPlacedEvent extends BlockEvent implements Cancellable { - private boolean cancel; - - /** - * @param type - * @param theBlock - */ - public BlockPlacedEvent(Type type, Block theBlock) { - super(type, theBlock); - cancel = false; - } + private boolean cancel; - public boolean isCancelled() { - // TODO Auto-generated method stub - return cancel; - } + /** + * @param type + * @param theBlock + */ + public BlockPlacedEvent(Type type, Block theBlock) { + super(type, theBlock); + cancel = false; + } - public void setCancelled(boolean cancel) { - this.cancel = cancel; - } + public boolean isCancelled() { + // TODO Auto-generated method stub + return cancel; + } + + public void setCancelled(boolean cancel) { + this.cancel = cancel; + } } |