9
0
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:
XiaoMoMi
2024-02-22 20:18:16 +08:00
parent 9d88ead4e3
commit 2e90d02166
3 changed files with 4 additions and 2 deletions

View File

@@ -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"));

View File

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

View File

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