1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-19 14:59:20 +00:00

Patch for people who updated to 2.2 early, and fixed previous push.

The config updater didn't re-add the quotes that strings with special characters (or no characters) should have, which resulted in the usernamePrefix becoming invalid or null. While this has been fixed for people that use the config updater with the latest version, people that already updated can't update again, and would have to edit the config manually.
This commit is contained in:
Tim203
2022-06-11 15:39:12 +02:00
parent 59b37f20e4
commit a7a6366ec1
2 changed files with 15 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ import org.geysermc.configutils.loader.callback.GenericPostInitializeCallback;
@Getter
public class FloodgateConfig implements GenericPostInitializeCallback<ConfigLoader> {
private String keyFileName;
private String usernamePrefix;
private String usernamePrefix = "";
private boolean replaceSpaces;
private String defaultLocale;