Adjust description formatting, remove default descriptions, add item_no_description locale

This commit is contained in:
William committed 2022-08-23 11:26:49 +01:00
1 parent 12020ca70a
commit 22ba7b4cf0
7 files changed
+36 -20

No files matched your search

@@ -85,8 +85,7 @@ public class SetHomeCommand extends CommandBase {
// Set the home in the saved position manager
final SavedPositionManager.SaveResult setResult = plugin.getSavedPositionManager()
.setHome(new PositionMeta(homeName, plugin.getLocales().getRawLocale("home_default_description",
onlineUser.username).orElse("")), onlineUser, onlineUser.getPosition().join()).join();
.setHome(new PositionMeta(homeName, ""), onlineUser, onlineUser.getPosition().join()).join();
// Display feedback of the result of the set operation
(switch (setResult.resultType()) {