diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/api/exceptions/BiomeMapException.java b/src/main/java/io/github/thebusybiscuit/slimefun4/api/exceptions/BiomeMapException.java index 3f450132a..8a116e283 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/api/exceptions/BiomeMapException.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/api/exceptions/BiomeMapException.java @@ -7,7 +7,7 @@ import org.bukkit.NamespacedKey; import io.github.thebusybiscuit.slimefun4.utils.biomes.BiomeMap; /** - * An {@link BiomeMapException} is thrown whenever a {@link BiomeMap} + * A {@link BiomeMapException} is thrown whenever a {@link BiomeMap} * contains illegal, invalid or unknown values. * * @author TheBusyBiscuit @@ -44,5 +44,4 @@ public class BiomeMapException extends Exception { public BiomeMapException(NamespacedKey key, Throwable cause) { super("Biome Map '" + key + "' has been misconfigured (" + cause.getMessage() + ')', cause); } - } diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/resources/AbstractResource.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/resources/AbstractResource.java index b8140657b..600e94bbf 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/resources/AbstractResource.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/resources/AbstractResource.java @@ -89,8 +89,8 @@ abstract class AbstractResource implements GEOResource { */ @ParametersAreNonnullByDefault static final @Nonnull BiomeMap getBiomeMap(AbstractResource resource, String path) { - Validate.notNull(resource, "Resource cannot be null"); - Validate.notNull(path, "Path cannot be null"); + Validate.notNull(resource, "Resource cannot be null."); + Validate.notNull(path, "Path cannot be null."); try { return BiomeMap.fromResource(resource.getKey(), path, JsonElement::getAsInt); @@ -105,5 +105,4 @@ abstract class AbstractResource implements GEOResource { } } } - } diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMap.java b/src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMap.java index 998880080..7483afad7 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMap.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/utils/biomes/BiomeMap.java @@ -28,7 +28,7 @@ import io.github.thebusybiscuit.slimefun4.implementation.Slimefun; *

* We heavily utilise this method of data mapping for {@link GEOResource}s, especially * when supporting multiple versions of Minecraft. This way, we can have different {@link BiomeMap}s - * for different versions of Minecraft, incase {@link Biome} names change inbetween versions. + * for different versions of Minecraft, in case {@link Biome} names change in-between versions. *

* The data type can be any type of {@link Object}. * The most common type is {@link Integer}, if you are using complex objects and try to read