Fix relocating mariadb driver in Velocity

Fixes #643
This commit is contained in:
games647
2021-11-04 10:29:57 +01:00
parent d2c94af4a7
commit 5612ca744b
2 changed files with 4 additions and 4 deletions

View File

@ -252,7 +252,7 @@ database: '{pluginDir}/FastLogin.db'
# MySQL/MariaDB # MySQL/MariaDB
# If you want to enable it uncomment only the lines below this not this line. # If you want to enable it uncomment only the lines below this not this line.
# If on velocity use 'fastlogin.mysql.cj.jdbc.Driver' as driver # If on velocity use 'fastlogin.mariadb.jdbc.Driver' as driver
#driver: 'com.mysql.jdbc.Driver' #driver: 'com.mysql.jdbc.Driver'
#host: '127.0.0.1' #host: '127.0.0.1'
#port: 3306 #port: 3306

View File

@ -75,8 +75,8 @@
<shadedPattern>fastlogin.config</shadedPattern> <shadedPattern>fastlogin.config</shadedPattern>
</relocation> </relocation>
<relocation> <relocation>
<pattern>com.mysql</pattern> <pattern>org.mariadb</pattern>
<shadedPattern>fastlogin.mysql</shadedPattern> <shadedPattern>fastlogin.mariadb</shadedPattern>
</relocation> </relocation>
</relocations> </relocations>
<artifactSet> <artifactSet>