Put back what was accidentally removed.

This commit is contained in:
tastybento 2022-11-26 23:10:08 -08:00
parent c170b34da3
commit 1a8c97b38b
2 changed files with 14 additions and 1 deletions

View File

@ -1829,4 +1829,18 @@ public class Settings implements WorldSettings {
public void setGenerateMobs(boolean generateMobs) {
this.generateMobs = generateMobs;
}
/**
* @return the denyVisitorAdvancements
*/
public boolean isDenyVisitorAdvancements() {
return denyVisitorAdvancements;
}
/**
* @param denyVisitorAdvancements the denyVisitorAdvancements to set
*/
public void setDenyVisitorAdvancements(boolean denyVisitorAdvancements) {
this.denyVisitorAdvancements = denyVisitorAdvancements;
}
}

View File

@ -28,7 +28,6 @@ import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerPortalEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import world.bentobox.bentobox.BentoBox;
import world.bentobox.bentobox.api.events.island.IslandNewIslandEvent;
import world.bentobox.bentobox.api.events.team.TeamJoinedEvent;
import world.bentobox.bentobox.api.events.team.TeamLeaveEvent;