mirror of
https://github.com/BentoBoxWorld/Boxed.git
synced 2024-12-03 13:23:32 +01:00
Put back what was accidentally removed.
This commit is contained in:
parent
c170b34da3
commit
1a8c97b38b
@ -1829,4 +1829,18 @@ public class Settings implements WorldSettings {
|
|||||||
public void setGenerateMobs(boolean generateMobs) {
|
public void setGenerateMobs(boolean generateMobs) {
|
||||||
this.generateMobs = 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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,6 @@ import org.bukkit.event.player.PlayerJoinEvent;
|
|||||||
import org.bukkit.event.player.PlayerPortalEvent;
|
import org.bukkit.event.player.PlayerPortalEvent;
|
||||||
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
|
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.island.IslandNewIslandEvent;
|
||||||
import world.bentobox.bentobox.api.events.team.TeamJoinedEvent;
|
import world.bentobox.bentobox.api.events.team.TeamJoinedEvent;
|
||||||
import world.bentobox.bentobox.api.events.team.TeamLeaveEvent;
|
import world.bentobox.bentobox.api.events.team.TeamLeaveEvent;
|
||||||
|
Loading…
Reference in New Issue
Block a user