blob: cb88f5b35e68aeb1a81db742e0804e554fe934e7 (
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.world;
import org.bukkit.World;
import org.bukkit.event.Event;
/**
* Represents events within a world
*/
@SuppressWarnings("serial")
public abstract class WorldEvent extends Event {
private final World world;
public WorldEvent(final World world) {
this.world = world;
}
/**
* Gets the world primarily involved with this event
*
* @return World which caused this event
*/
public World getWorld() {
return world;
}
}
|