mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Add TeleportBackEvent, Teleport.Type.BACK type, close #180
This commit is contained in:
6 files changed
+92
-36
No files matched your search
@@ -33,6 +33,7 @@ public class BackCommand extends InGameCommand {
|
||||
.teleporter(executor)
|
||||
.target(lastPosition.get())
|
||||
.economyActions(EconomyHook.Action.BACK_COMMAND)
|
||||
.type(Teleport.Type.BACK)
|
||||
.toTimedTeleport()
|
||||
.execute();
|
||||
} catch (TeleportationException e) {
|
||||
|
||||
Reference in new issue
Block a user