Add checks for unicode in home/description names if enabled

This commit is contained in:
William committed 2022-08-24 18:19:13 +01:00
1 parent e90fc481a9
commit 1c6902fc9e
8 files changed
+36 -19

No files matched your search

@@ -144,7 +144,8 @@ public class BukkitHuskHomes extends JavaPlugin implements HuskHomes {
this.requestManager = new RequestManager(this);
// Prepare the home and warp position manager
this.savedPositionManager = new SavedPositionManager(database, cache);
this.savedPositionManager = new SavedPositionManager(database, cache,
settings.allowUnicodeNames, settings.allowUnicodeDescriptions);
// Initialize the RTP engine with the default normal distribution engine
this.rtpEngine = new NormalDistributionEngine(this);