mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Merge branch 'master' into ApliNi_master
This commit is contained in:
commit
a0a5eb9d32
3 files changed
+4
-4
No files matched your search
@@ -22,9 +22,9 @@ public class BackCommand extends CommandBase {
|
||||
}
|
||||
|
||||
// Teleport the player
|
||||
plugin.getTeleportManager().timedTeleport(onlineUser, position, Settings.EconomyAction.RANDOM_TELEPORT)
|
||||
plugin.getTeleportManager().timedTeleport(onlineUser, position, Settings.EconomyAction.BACK_COMMAND)
|
||||
.thenAccept(result -> plugin.getTeleportManager()
|
||||
.finishTeleport(onlineUser, result, Settings.EconomyAction.RANDOM_TELEPORT));
|
||||
.finishTeleport(onlineUser, result, Settings.EconomyAction.BACK_COMMAND));
|
||||
},
|
||||
() -> plugin.getLocales().getLocale("error_no_last_position").ifPresent(onlineUser::sendMessage)));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user