mirror of
https://github.com/Xiao-MoMi/Custom-Nameplates.git
synced 2026-01-03 14:12:24 +00:00
fix some minor issues
This commit is contained in:
@@ -214,7 +214,7 @@ public abstract class AbstractSQLDatabase extends AbstractStorage {
|
||||
public Set<UUID> getUniqueUsers(boolean legacy) {
|
||||
Set<UUID> uuids = new HashSet<>();
|
||||
try (Connection connection = getConnection();
|
||||
PreparedStatement statement = connection.prepareStatement(String.format(SqlConstants.SQL_SELECT_ALL_UUID, legacy ? getTableName("fishingbag") : getTableName("data")))) {
|
||||
PreparedStatement statement = connection.prepareStatement(String.format(SqlConstants.SQL_SELECT_ALL_UUID, getTableName("data")))) {
|
||||
try (ResultSet rs = statement.executeQuery()) {
|
||||
while (rs.next()) {
|
||||
UUID uuid = UUID.fromString(rs.getString("uuid"));
|
||||
|
||||
@@ -97,7 +97,6 @@ other-settings:
|
||||
# Thread pool settings
|
||||
thread-pool-settings:
|
||||
# The size of the core Thread pool, that is, the size of the Thread pool when there is no task to execute
|
||||
# Increase the size of corePoolSize when you are running a large server with many players fishing at the same time
|
||||
corePoolSize: 10
|
||||
# The maximum number of threads allowed to be created in the Thread pool. The current number of threads in the Thread pool will not exceed this value
|
||||
maximumPoolSize: 10
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
# namespace:font
|
||||
minecraft:default:
|
||||
# default width
|
||||
default: 8
|
||||
# available font data template: unifont/ascii/nonlatin_european/accented/unicode(legacy)
|
||||
template-loading-sequence:
|
||||
- unifont
|
||||
- nonlatin_european
|
||||
|
||||
Reference in New Issue
Block a user