mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-07-02 20:11:19 +00:00
Bump to v7.5
This commit is contained in:
parent
3bf5f899bd
commit
6a7ff399ff
4 changed files with 12 additions and 3 deletions
|
@ -10,7 +10,7 @@ sourceCompatibility = 1.8
|
|||
targetCompatibility = 1.8
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
group = 'dev.esophose'
|
||||
version = '7.4'
|
||||
version = '7.5'
|
||||
|
||||
java {
|
||||
withJavadocJar()
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
=== v7.5 ===
|
||||
+ Added style 'trail'
|
||||
+ Added settings for MySQL table prefix and connection pool size
|
||||
* Fixed preset groups loaded with '/pp group load' not saving correctly
|
||||
* Fixed possible database connection loss for MySQL
|
||||
=== v7.4 ===
|
||||
* Fixed '/pp fixed teleport' not working due to async event issues
|
||||
* Fixed issue with a fixed celebration effect while vanished
|
||||
|
|
|
@ -1 +1 @@
|
|||
rootProject.name = 'PlayerParticles'
|
||||
rootProject.name = 'playerparticles'
|
||||
|
|
|
@ -547,7 +547,11 @@ public class DataManager extends Manager {
|
|||
* @return the prefix to be used by all table names
|
||||
*/
|
||||
public String getTablePrefix() {
|
||||
return Setting.MYSQL_TABLE_PREFIX.getString();
|
||||
if (this.databaseConnector instanceof MySQLConnector) {
|
||||
return Setting.MYSQL_TABLE_PREFIX.getString();
|
||||
} else {
|
||||
return this.playerParticles.getDescription().getName().toLowerCase() + '_';
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue