Added /toggleredstone as alias

This commit is contained in:
Pharma 2023-01-18 12:09:56 -06:00 committed by GitHub
parent 3cdedc4a9a
commit f507dbdfe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitRunnable; import org.bukkit.scheduler.BukkitRunnable;
@CommandPermissions(level = Rank.ADMIN, source = SourceType.BOTH) @CommandPermissions(level = Rank.ADMIN, source = SourceType.BOTH)
@CommandParameters(description = "Blocks redstone on the server.", usage = "/<command>", aliases = "bre") @CommandParameters(description = "Blocks redstone on the server.", usage = "/<command>", aliases = "bre,toggleredstone")
public class Command_blockredstone extends FreedomCommand public class Command_blockredstone extends FreedomCommand
{ {
@ -38,4 +38,4 @@ public class Command_blockredstone extends FreedomCommand
} }
return true; return true;
} }
} }