mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-22 08:01:24 +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);
|
Bukkit.getPluginManager().callEvent(change);
|
||||||
return change;
|
return change;
|
||||||
case PRECLEAR:
|
case PRECLEAR:
|
||||||
IslandPreclearEvent preclear = new IslandPreclearEvent(island, player, admin, location, island);
|
IslandPreclearEvent preclear = new IslandPreclearEvent(island, player, admin, location, oldIsland);
|
||||||
Bukkit.getPluginManager().callEvent(preclear);
|
Bukkit.getPluginManager().callEvent(preclear);
|
||||||
return preclear;
|
return preclear;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user