Removed unused field in IslandPreclearEvent and fixed typo in docs

This commit is contained in:
Florian CUNY 2020-03-21 10:47:29 +01:00
parent 3f3ea689e6
commit 979fc021d0

View File

@ -351,12 +351,11 @@ public class IslandEvent extends IslandBaseEvent {
}
/**
* Fired before an island has its player data cleared, e.g., just beofre a reset
* Fired before an island has its player data cleared, e.g., just before a reset
* @since 1.12.0
*/
public static class IslandPreclearEvent extends IslandBaseEvent {
private @NonNull final Island oldIsland;
private @NonNull BlueprintBundle blueprintBundle;
private IslandPreclearEvent(Island island, UUID player, boolean admin, Location location, @NonNull Island oldIsland) {
// Final variables have to be declared in the constructor
@ -372,7 +371,6 @@ public class IslandEvent extends IslandBaseEvent {
public Island getOldIsland() {
return oldIsland;
}
}
/**