Skip to content

Commit d1fbf6f

Browse files
authored
Merge pull request #60 from BentoBoxWorld/develop
Version 1.19.0
2 parents 92859e0 + ace6205 commit d1fbf6f

File tree

6 files changed

+30
-16
lines changed

6 files changed

+30
-16
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/target/
22
/.classpath
33
/.project
4+
/.DS_Store
5+
/bin/

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@
5858
<!-- Non-minecraft related dependencies -->
5959
<powermock.version>2.0.2</powermock.version>
6060
<!-- More visible way how to change dependency versions -->
61-
<spigot.version>1.19.1-R0.1-SNAPSHOT</spigot.version>
62-
<bentobox.version>1.21.0</bentobox.version>
61+
<spigot.version>1.19.4-R0.1-SNAPSHOT</spigot.version>
62+
<bentobox.version>1.23.0</bentobox.version>
6363
<!-- Revision variable removes warning about dynamic version -->
6464
<revision>${build.version}-SNAPSHOT</revision>
6565
<!-- Do not change unless you want different name for local builds. -->
6666
<build.number>-LOCAL</build.number>
6767
<!-- This allows to change between versions. -->
68-
<build.version>1.18.0</build.version>
68+
<build.version>1.19.0</build.version>
6969
<!-- SonarCloud -->
7070
<sonar.projectKey>BentoBoxWorld_SkyGrid</sonar.projectKey>
7171
<sonar.organization>bentobox-world</sonar.organization>
@@ -316,4 +316,4 @@
316316
</plugin>
317317
</plugins>
318318
</build>
319-
</project>
319+
</project>

src/main/java/world/bentobox/skygrid/Settings.java

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
package world.bentobox.skygrid;
22

3-
import java.util.*;
3+
import java.util.ArrayList;
4+
import java.util.Collections;
5+
import java.util.EnumMap;
6+
import java.util.HashMap;
7+
import java.util.HashSet;
8+
import java.util.List;
9+
import java.util.Map;
10+
import java.util.Objects;
11+
import java.util.Set;
412

513
import org.bukkit.Difficulty;
614
import org.bukkit.GameMode;
@@ -14,8 +22,6 @@
1422
import world.bentobox.bentobox.api.flags.Flag;
1523
import world.bentobox.bentobox.database.objects.adapters.Adapter;
1624
import world.bentobox.bentobox.database.objects.adapters.FlagBooleanSerializer;
17-
import world.bentobox.bentobox.database.objects.adapters.FlagSerializer;
18-
import world.bentobox.bentobox.database.objects.adapters.FlagSerializer2;
1925

2026
/**
2127
* All the settings are here
@@ -105,7 +111,7 @@ public class Settings implements WorldSettings {
105111
@ConfigComment("This option indicates if obsidian platform in the end should be generated")
106112
@ConfigComment("when player enters the end world.")
107113
@ConfigEntry(path = "world.end.create-obsidian-platform", since = "1.16")
108-
private boolean makeEndPortals = false;
114+
private boolean makeEndPortals = true;
109115

110116
/* SkyGrid */
111117
@ConfigComment("The probability of a frame being created in a chunk. Frames are always at y=0.")
@@ -722,6 +728,7 @@ public void setWorldFlags(Map<String, Boolean> worldFlags) {
722728
* @return the defaultIslandFlags
723729
* @deprecated since 1.21
724730
*/
731+
@Deprecated
725732
@Override
726733
public Map<Flag, Integer> getDefaultIslandFlags() {
727734
return Collections.emptyMap();
@@ -749,6 +756,7 @@ public void setDefaultIslandFlagNames(Map<String, Integer> defaultIslandFlags) {
749756
* @return the defaultIslandSettings
750757
* @deprecated since 1.21
751758
*/
759+
@Deprecated
752760
@Override
753761
public Map<Flag, Integer> getDefaultIslandSettings() {
754762
return Collections.emptyMap();

src/main/java/world/bentobox/skygrid/SkyGridPladdon.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
package world.bentobox.skygrid;
22

3+
34
import world.bentobox.bentobox.api.addons.Addon;
45
import world.bentobox.bentobox.api.addons.Pladdon;
56

7+
68
public class SkyGridPladdon extends Pladdon {
79

810
@Override

src/main/resources/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ world:
10291029
# This option indicates if obsidian platform in the end should be generated
10301030
# when player enters the end world.
10311031
# Added since 1.16.
1032-
create-obsidian-platform: false
1032+
create-obsidian-platform: true
10331033
# The probability of a frame being created in a chunk. Frames are always at y=0.
10341034
end-frame-probability: 0.1
10351035
# Friendly name for this world. Used in admin commands. Must be a single word

src/main/resources/plugin.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
name: Pladdon
2-
main: world.bentobox.skygrid.SkyGrid
3-
version: ${version}
4-
api-version: 1.19
5-
description: SkyGrid
6-
author: tastybento
7-
depend: [BentoBox]
1+
name: BentoBox-SkyGrid
2+
main: world.bentobox.skygrid.SkyGridPladdon
3+
version: ${project.version}${build.number}
4+
api-version: "1.19"
5+
6+
authors: [tastybento]
7+
contributors: ["The BentoBoxWorld Community"]
8+
website: https://bentobox.world
9+
description: ${project.description}

0 commit comments

Comments
 (0)