/FileExtraction/Java_unseen/Wind-Development_WindSpigot/WindSpigot-API/src/main/java/org/bukkit/event/world/ChunkEvent.java
package org.bukkit.event.world;

import org.bukkit.Chunk;

/**
 * Represents a Chunk related event
 */
public abstract class ChunkEvent extends WorldEvent {
	protected Chunk chunk;

	protected ChunkEvent(final Chunk chunk) {
		super(chunk.getWorld());
		this.chunk = chunk;
	}

	/**
	 * Gets the chunk being loaded/unloaded
	 *
	 * @return Chunk that triggered this event
	 */
	public Chunk getChunk() {
		return chunk;
	}
}
