mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Tweak edit UI, add teleport button and fixes to delhome
This commit is contained in:
1 parent
1a280393ea
commit
fd2fb72d3d
4 files changed
+26
-29
No files matched your search
@@ -40,7 +40,7 @@ public class DelHomeCommand extends CommandBase implements TabCompletable, Conso
|
||||
return;
|
||||
}
|
||||
}
|
||||
deletePlayerHome(onlineUser, userData.user(), homeName);
|
||||
deletePlayerHome(onlineUser, userData.user(), homeIdentifier.homeName());
|
||||
},
|
||||
() -> plugin.getLocales().getLocale("error_home_invalid_other",
|
||||
homeIdentifier.ownerName(), homeIdentifier.homeName()).ifPresent(onlineUser::sendMessage))),
|
||||
@@ -64,7 +64,7 @@ public class DelHomeCommand extends CommandBase implements TabCompletable, Conso
|
||||
if (deleted) {
|
||||
plugin.getLocales().getLocale("home_deleted", homeName).ifPresent(deleter::sendMessage);
|
||||
} else {
|
||||
plugin.getLocales().getLocale("error_home_invalid_other", homeName).ifPresent(deleter::sendMessage);
|
||||
plugin.getLocales().getLocale("error_home_invalid", homeName).ifPresent(deleter::sendMessage);
|
||||
}
|
||||
} else {
|
||||
if (deleted) {
|
||||
|
||||
Reference in new issue
Block a user