mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-06 00:18:36 +01:00
Preclear event was not using oldIsland argument.
This commit is contained in:
parent
7d534d7617
commit
ca3fdf81e1
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user