Preclear event was not using oldIsland argument.

This commit is contained in:
tastybento 2020-03-04 18:49:41 -08:00
parent 7d534d7617
commit ca3fdf81e1

View File

@ -687,7 +687,7 @@ public class IslandEvent extends IslandBaseEvent {
Bukkit.getPluginManager().callEvent(change);
return change;
case PRECLEAR:
IslandPreclearEvent preclear = new IslandPreclearEvent(island, player, admin, location, island);
IslandPreclearEvent preclear = new IslandPreclearEvent(island, player, admin, location, oldIsland);
Bukkit.getPluginManager().callEvent(preclear);
return preclear;
default: