mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 06:28:49 +00:00
Fix the teleport button not showing up in HomeEditor. (#427)
This commit is contained in:
1 parent
9d4abf7ff7
commit
e080d65a44
1 file changed
+1
-1
@@ -55,7 +55,7 @@ public class EditHomeCommand extends SavedPositionCommand<Home> {
|
|||||||
final Optional<String> operation = parseStringArg(args, 0);
|
final Optional<String> operation = parseStringArg(args, 0);
|
||||||
if (operation.isEmpty()) {
|
if (operation.isEmpty()) {
|
||||||
getHomeEditorWindow(home, !ownerEditing,
|
getHomeEditorWindow(home, !ownerEditing,
|
||||||
!ownerEditing || executor.hasPermission(getOtherPermission()),
|
ownerEditing || executor.hasPermission(getOtherPermission()),
|
||||||
executor.hasPermission(getPermission("privacy")))
|
executor.hasPermission(getPermission("privacy")))
|
||||||
.forEach(executor::sendMessage);
|
.forEach(executor::sendMessage);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in new issue
Block a user