Skip to content

Commit edc0201

Browse files
committed
1.1.9
Arrumado erro de setar 0 no shop
1 parent b504e80 commit edc0201

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

build.gradle.kts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
22

33
plugins {
4-
kotlin("jvm") version "2.1.0"
5-
id("com.gradleup.shadow") version "9.0.0-beta4"
4+
kotlin("jvm") version "2.1.10"
5+
id("com.gradleup.shadow") version "9.0.0-beta10"
66
}
77

88
val base = "github.gilbertokpl.library"
99

10-
version = "1.1.8"
10+
version = "1.1.9"
1111

1212

1313
repositories {
@@ -39,17 +39,17 @@ dependencies {
3939

4040

4141
//exposed
42-
compileOnly("org.jetbrains.exposed:exposed-core:0.57.0") {
42+
compileOnly("org.jetbrains.exposed:exposed-core:0.60.0") {
4343
exclude("org.slf4j", "slf4j-api")
4444
exclude("org.slf4j", "jcl-over-slf4j")
4545
}
4646

47-
compileOnly("org.jetbrains.exposed:exposed-dao:0.57.0") {
47+
compileOnly("org.jetbrains.exposed:exposed-dao:0.60.0") {
4848
exclude("org.slf4j", "slf4j-api")
4949
exclude("org.slf4j", "jcl-over-slf4j")
5050
}
5151

52-
compileOnly("org.jetbrains.exposed:exposed-jdbc:0.57.0") {
52+
compileOnly("org.jetbrains.exposed:exposed-jdbc:0.60.0") {
5353
exclude("org.slf4j", "slf4j-api")
5454
exclude("org.slf4j", "jcl-over-slf4j")
5555
}
@@ -62,7 +62,7 @@ dependencies {
6262
}
6363

6464
//Mysql with MariaDB driver database
65-
compileOnly("org.mariadb.jdbc:mariadb-java-client:3.5.1") {
65+
compileOnly("org.mariadb.jdbc:mariadb-java-client:3.5.2") {
6666
exclude("org.slf4j", "slf4j-api")
6767
exclude("org.slf4j", "jcl-over-slf4j")
6868
}
@@ -82,17 +82,17 @@ dependencies {
8282
}
8383

8484
//host info
85-
compileOnly("com.github.oshi:oshi-core:6.6.5") {
85+
compileOnly("com.github.oshi:oshi-core:6.7.0") {
8686
exclude("org.slf4j", "slf4j-api")
8787
exclude("org.slf4j", "jcl-over-slf4j")
8888
}
8989

90-
compileOnly("org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.0") {
90+
compileOnly("org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.10") {
9191
exclude("org.slf4j", "slf4j-api")
9292
exclude("org.slf4j", "jcl-over-slf4j")
9393
}
9494

95-
compileOnly("net.dv8tion:JDA:5.2.1") {
95+
compileOnly("net.dv8tion:JDA:5.3.0") {
9696
exclude("club.minnced","opus-java")
9797
exclude("org.slf4j", "slf4j-api")
9898
exclude("org.slf4j", "jcl-over-slf4j")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/main/kotlin/github/gilbertokpl/total/cache/local/ShopData.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ object ShopData : CacheBase {
1919
val shopOpen = cache.boolean(this, ShopDataSQL.open)
2020

2121
fun createNewShop(location: Location, player: Player) {
22-
shopVisits[player] = 0
22+
if (!checkIfShopExists(player.name.lowercase())) {
23+
shopVisits[player] = 0
24+
}
2325
shopLocation[player] = location
2426
shopOpen[player] = false
2527
}

src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: TotalEssentials
2-
version: 1.1.7
2+
version: 1.1.9
33
main: github.gilbertokpl.total.TotalEssentialsJava
44
author: Gilberto
55
api-version: 1.13

0 commit comments

Comments
 (0)