Events should be present tense, not paste tense.

This commit is contained in:
Erik Broes
2011-01-15 21:23:53 +01:00
parent 711c67ea1d
commit bbd7fffaac
14 changed files with 43 additions and 43 deletions

View File

@@ -6,10 +6,10 @@ import org.bukkit.Chunk;
/**
* Called when a chunk is loaded
*/
public class ChunkLoadedEvent extends WorldEvent {
public class ChunkLoadEvent extends WorldEvent {
private final Chunk chunk;
public ChunkLoadedEvent(final Type type, final Chunk chunk) {
public ChunkLoadEvent(final Type type, final Chunk chunk) {
super(type, chunk.getWorld());
this.chunk = chunk;

View File

@@ -7,10 +7,10 @@ import org.bukkit.event.Cancellable;
/**
* Called when a chunk is unloaded
*/
public class ChunkUnloadedEvent extends ChunkLoadedEvent implements Cancellable {
public class ChunkUnloadEvent extends ChunkLoadEvent implements Cancellable {
private boolean cancel = false;
public ChunkUnloadedEvent(final Type type, final Chunk chunk) {
public ChunkUnloadEvent(final Type type, final Chunk chunk) {
super(type, chunk);
}

View File

@@ -12,7 +12,7 @@ public class WorldListener implements Listener {
*
* @param event Relevant event details
*/
public void onChunkLoaded(ChunkLoadedEvent event) {
public void onChunkLoaded(ChunkLoadEvent event) {
}
/**
@@ -20,6 +20,6 @@ public class WorldListener implements Listener {
*
* @param event Relevant event details
*/
public void onChunkUnloaded(ChunkUnloadedEvent event) {
public void onChunkUnloaded(ChunkUnloadEvent event) {
}
}