Skip to content

Commit

Permalink
Use 1.14.1 API
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed May 15, 2019
1 parent b3e9959 commit 280a521
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.13.2-R0.1-SNAPSHOT</version>
<version>1.14.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/world/bentobox/skygrid/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public class Settings implements WorldSettings {
@ConfigComment("Name of the world - if it does not exist then it will be generated.")
@ConfigComment("It acts like a prefix for nether and end")
@ConfigEntry(path = "world.world-name")
private String worldName = "SkyGrid-world";
private String worldName = "skygrid-world";

@ConfigComment("World difficulty setting - PEACEFUL, EASY, NORMAL, HARD")
@ConfigComment("Other plugins may override this setting")
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/world/bentobox/skygrid/SkyGrid.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public Settings getSettings() {

@Override
public void createWorlds() {
String worldName = settings.getWorldName();
String worldName = settings.getWorldName().toLowerCase();
if (getServer().getWorld(worldName) == null) {
getLogger().info("Creating SkyGrid world ...");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public class SkyGridGen extends ChunkGenerator {
Material.RED_MUSHROOM,
Material.RED_TULIP,
Material.ROSE_BUSH,
Material.ROSE_RED,
Material.SPRUCE_SAPLING,
Material.SUGAR_CANE,
Material.SUNFLOWER,
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 @@ -170,7 +170,7 @@ world:
friendly-name: SkyGrid
# Name of the world - if it does not exist then it will be generated.
# It acts like a prefix for nether and end
world-name: SkyGrid-world
world-name: skygrid-world
# World difficulty setting - PEACEFUL, EASY, NORMAL, HARD
# Other plugins may override this setting
difficulty: NORMAL
Expand Down

0 comments on commit 280a521

Please sign in to comment.