Skip to content

Commit

Permalink
Make the obsidian platform default.
Browse files Browse the repository at this point in the history
SkyGrid end portals are at y=0 so players fall into the void and this
will prevent them from doing so.

Fixes #58
  • Loading branch information
tastybento committed Dec 28, 2022
1 parent acf580d commit f3645f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/main/java/world/bentobox/skygrid/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public class Settings implements WorldSettings {
@ConfigComment("This option indicates if obsidian platform in the end should be generated")
@ConfigComment("when player enters the end world.")
@ConfigEntry(path = "world.end.create-obsidian-platform", since = "1.16")
private boolean makeEndPortals = false;
private boolean makeEndPortals = true;

/* SkyGrid */
@ConfigComment("The probability of a frame being created in a chunk. Frames are always at y=0.")
Expand Down Expand Up @@ -722,6 +722,7 @@ public void setWorldFlags(Map<String, Boolean> worldFlags) {
* @return the defaultIslandFlags
* @deprecated since 1.21
*/
@Deprecated
@Override
public Map<Flag, Integer> getDefaultIslandFlags() {
return Collections.emptyMap();
Expand Down Expand Up @@ -749,6 +750,7 @@ public void setDefaultIslandFlagNames(Map<String, Integer> defaultIslandFlags) {
* @return the defaultIslandSettings
* @deprecated since 1.21
*/
@Deprecated
@Override
public Map<Flag, Integer> getDefaultIslandSettings() {
return Collections.emptyMap();
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ world:
# This option indicates if obsidian platform in the end should be generated
# when player enters the end world.
# Added since 1.16.
create-obsidian-platform: false
create-obsidian-platform: true
# The probability of a frame being created in a chunk. Frames are always at y=0.
end-frame-probability: 0.1
# Friendly name for this world. Used in admin commands. Must be a single word
Expand Down

0 comments on commit f3645f0

Please sign in to comment.