diff --git a/build.gradle b/build.gradle index cd0deb7..58938ac 100644 --- a/build.gradle +++ b/build.gradle @@ -63,7 +63,7 @@ dependencies { implementation'org.jetbrains.kotlinx:kotlinx-cli:0.3.5' // Logging - implementation 'org.slf4j:slf4j-api:2.0.0' + implementation 'org.slf4j:slf4j-api:2.0.1' implementation "org.apache.logging.log4j:log4j-api:$versions.log4j" implementation "org.apache.logging.log4j:log4j-core:$versions.log4j" implementation "org.apache.logging.log4j:log4j-slf4j18-impl:$versions.log4j" diff --git a/src/main/java/net/thauvin/erik/mobibot/modules/War.java b/src/main/java/net/thauvin/erik/mobibot/modules/War.java index b12563b..9193072 100644 --- a/src/main/java/net/thauvin/erik/mobibot/modules/War.java +++ b/src/main/java/net/thauvin/erik/mobibot/modules/War.java @@ -47,21 +47,19 @@ import static net.thauvin.erik.mobibot.Utils.bold; * @since 1.0 */ public final class War extends AbstractModule { - // Random - private static final SecureRandom RANDOM = new SecureRandom(); - // War command - private static final String WAR_CMD = "war"; - - private static final String[] HEARTS = - {"🂱", "🂾", "🂽", "🂻", "🂺", "🂹", "🂸", "🂷", "🂶", "🂵", "🂴", "🂳", "🂲"}; - private static final String[] SPADES = - {"🂡", "🂮", "🂭", "🂫", "🂪", "🂩", "🂨", "🂧", "🂦", "🂥", "🂤", "🂣", "🂢"}; - private static final String[] DIAMONDS = - {"🃁", "🃎", "🃍", "🃋", "🃊", "🃉", "🃈", "🃇", "🃆", "🃅", "🃄", "🃃", "🃂"}; private static final String[] CLUBS = {"🃑", "🃞", "🃝", "🃛", "🃚", "🃙", "🃘", "🃗", "🃖", "🃕", "🃔", "🃓", "🃒"}; - + private static final String[] DIAMONDS = + {"🃁", "🃎", "🃍", "🃋", "🃊", "🃉", "🃈", "🃇", "🃆", "🃅", "🃄", "🃃", "🃂"}; + private static final String[] HEARTS = + {"🂱", "🂾", "🂽", "🂻", "🂺", "🂹", "🂸", "🂷", "🂶", "🂵", "🂴", "🂳", "🂲"}; + // Random + private static final SecureRandom RANDOM = new SecureRandom(); + private static final String[] SPADES = + {"🂡", "🂮", "🂭", "🂫", "🂪", "🂩", "🂨", "🂧", "🂦", "🂥", "🂤", "🂣", "🂢"}; private static final String[][] DECK = {HEARTS, SPADES, DIAMONDS, CLUBS}; + // War command + private static final String WAR_CMD = "war"; /** * The default constructor. @@ -75,12 +73,6 @@ public final class War extends AbstractModule { help.add(Utils.helpFormat("%c " + WAR_CMD)); } - @NotNull - @Override - public String getName() { - return "War"; - } - /** * {@inheritDoc} */ @@ -108,4 +100,10 @@ public final class War extends AbstractModule { } while (i == y); } + + @NotNull + @Override + public String getName() { + return "War"; + } } diff --git a/version.properties b/version.properties index 975a800..70f832b 100644 --- a/version.properties +++ b/version.properties @@ -1,9 +1,9 @@ #Generated by the Semver Plugin for Gradle -#Wed Sep 14 01:53:58 PDT 2022 -version.buildmeta=390 +#Fri Sep 16 00:01:57 PDT 2022 +version.buildmeta=525 version.major=0 version.minor=8 version.patch=0 version.prerelease=rc version.project=mobibot -version.semver=0.8.0-rc+390 +version.semver=0.8.0-rc+525