mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Add ability to define cooldowns for actions (#437)
This commit is contained in:
1 parent
fb052340c0
commit
fc8d3b0098
52 files changed
+1140
-619
No files matched your search
@@ -94,11 +94,11 @@ public class TpCommand extends Command implements TabProvider {
|
||||
}
|
||||
builder.toTeleport().execute();
|
||||
} catch (TeleportationException e) {
|
||||
e.displayMessage(executor, plugin, args);
|
||||
e.displayMessage(executor, args);
|
||||
return;
|
||||
}
|
||||
|
||||
// Display teleport completion message
|
||||
// Display a teleport completion message
|
||||
final String teleporterName = teleportable instanceof OnlineUser user
|
||||
? user.getUsername() : ((Username) teleportable).name();
|
||||
if (target instanceof Position position) {
|
||||
|
||||
Reference in new issue
Block a user