mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-03-02 11:12:28 +01:00
Tiny fix to help Travis to compile
This commit is contained in:
parent
59a6397536
commit
ee133156f4
@ -684,7 +684,7 @@ public class Island extends DataObject {
|
||||
public void setLocked(boolean locked){
|
||||
if(locked){
|
||||
// Lock the island
|
||||
IslandLockEvent event = new IslandLockEvent(this);
|
||||
IslandLockEvent event = new IslandLockEvent(this, null); // TODO: Maybe a custom CommandSender for BSkyBlock ?
|
||||
Bukkit.getServer().getPluginManager().callEvent(event);
|
||||
|
||||
if(!event.isCancelled()){
|
||||
@ -692,7 +692,7 @@ public class Island extends DataObject {
|
||||
}
|
||||
} else {
|
||||
// Unlock the island
|
||||
IslandUnlockEvent event = new IslandUnlockEvent(this);
|
||||
IslandUnlockEvent event = new IslandUnlockEvent(this, null);
|
||||
Bukkit.getServer().getPluginManager().callEvent(event);
|
||||
|
||||
if(!event.isCancelled()){
|
||||
|
Loading…
Reference in New Issue
Block a user