Skip to content

Commit 5612ca7

Browse files
author
games647
committed
Fix relocating mariadb driver in Velocity
Fixes #643
1 parent d2c94af commit 5612ca7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/src/main/resources/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ autoLoginFloodgate: false
222222
# false: Check for Premium Java name conflicts as described in 'autoRegister'
223223
# Note: Linked players have the same name as their Java profile, so the Bedrock player will always conflict
224224
# their own Java account's name. Therefore, setting this to false will prevent any linked player from joining.
225-
# true: Bypass 'autoRegister's name conflict checking
225+
# true: Bypass 'autoRegister's name conflict checking
226226
# linked: Bedrock accounts linked to a Java account will be allowed to join with conflicting names
227227
# !!!!!!!! WARNING: FLOODGATE SUPPORT IS AN EXPERIMENTAL FEATURE !!!!!!!!
228228
# Enabling this might lead to people gaining unauthorized access to other's accounts!
@@ -252,7 +252,7 @@ database: '{pluginDir}/FastLogin.db'
252252

253253
# MySQL/MariaDB
254254
# If you want to enable it uncomment only the lines below this not this line.
255-
# If on velocity use 'fastlogin.mysql.cj.jdbc.Driver' as driver
255+
# If on velocity use 'fastlogin.mariadb.jdbc.Driver' as driver
256256
#driver: 'com.mysql.jdbc.Driver'
257257
#host: '127.0.0.1'
258258
#port: 3306

velocity/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@
7575
<shadedPattern>fastlogin.config</shadedPattern>
7676
</relocation>
7777
<relocation>
78-
<pattern>com.mysql</pattern>
79-
<shadedPattern>fastlogin.mysql</shadedPattern>
78+
<pattern>org.mariadb</pattern>
79+
<shadedPattern>fastlogin.mariadb</shadedPattern>
8080
</relocation>
8181
</relocations>
8282
<artifactSet>

0 commit comments

Comments
 (0)