Bukkit/src/main/java/org/bukkit/event/block/BlockPlacedEvent.java
2011-01-01 08:01:07 -05:00

31 lines
601 B
Java

package org.bukkit.event.block;
import org.bukkit.Block;
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;
}
public boolean isCancelled() {
// TODO Auto-generated method stub
return cancel;
}
public void setCancelled(boolean cancel) {
this.cancel = cancel;
}
}