Fix genericHelp in NightVisionCommand and SpeedCommand
Dieser Commit ist enthalten in:
Ursprung
4e7f420bf8
Commit
74ccc2383d
@ -30,12 +30,12 @@ import org.bukkit.potion.PotionEffectType;
|
||||
@Linked(LinkageType.COMMAND)
|
||||
public class NightVisionCommand extends SWCommand {
|
||||
|
||||
protected NightVisionCommand() {
|
||||
public NightVisionCommand() {
|
||||
super("nightvision", "nv", "light");
|
||||
}
|
||||
|
||||
@Register(help = true)
|
||||
public void genericHelp(Player p, String[] args) {
|
||||
public void genericHelp(Player p, String... args) {
|
||||
p.sendMessage("§8/§enightvision §8- §7Schalte Nightvision an oder aus.");
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ public class SpeedCommand extends SWCommand {
|
||||
}
|
||||
|
||||
@Register(help = true)
|
||||
public void genericHelp(Player p, String[] args) {
|
||||
public void genericHelp(Player p, String... args) {
|
||||
p.sendMessage("§8/§espeed §8[§e1§8-§e10§8] §8- §7Setzte deine Flug- und Laufgeschindigkeit.");
|
||||
p.sendMessage(BauSystem.PREFIX + "Aktuelle geschwindigkeit: §e" + p.getFlySpeed() * 10F);
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren