Transition to Maven

This commit is contained in:
Erik Broes
2011-01-01 11:23:14 +01:00
parent 995ef8f5ad
commit f46d9ada1c
42 changed files with 31 additions and 5 deletions

View File

@@ -0,0 +1,24 @@
package org.bukkit.event.block;
import org.bukkit.Block;
import org.bukkit.event.Event;
/**
* Represents a block related event
*/
public class BlockEvent extends Event {
protected Block block;
public BlockEvent(final Event.Type type, final Block theBlock) {
super(type);
block = theBlock;
}
/**
* Returns the block involved in this event
* @return Block which block is involved in this event
*/
public final Block getBlock() {
return block;
}
}