Bump to v7.5

This commit is contained in:
Esophose 2020-03-16 16:25:52 -06:00
parent 3bf5f899bd
commit 6a7ff399ff
4 changed files with 12 additions and 3 deletions

View file

@ -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()

View file

@ -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

View file

@ -1 +1 @@
rootProject.name = 'PlayerParticles'
rootProject.name = 'playerparticles'

View file

@ -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() + '_';
}
}
}