blob: 85defac29a83c19f6eb0738c063d302d53fe5c09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package org.bukkit.event.block;
import org.bukkit.block.Block;
import org.bukkit.event.Event;
/**
* Represents a block related event.
*/
@SuppressWarnings("serial")
public abstract class BlockEvent extends Event {
protected Block block;
public BlockEvent(final Block theBlock) {
block = theBlock;
}
/**
* Gets the block involved in this event.
*
* @return The Block which block is involved in this event
*/
public final Block getBlock() {
return block;
}
}
|