From 5c1e6ca74a0404220cee3814bece6c2e9f712d94 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Thu, 1 Apr 2021 21:07:42 +0200 Subject: [PATCH] Update CommandSpeed to new SWCommand system --- .../src/de/steamwar/bausystem/commands/CommandSpeed.java | 1 + 1 file changed, 1 insertion(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandSpeed.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandSpeed.java index 1a4b31a..192274c 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandSpeed.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandSpeed.java @@ -44,6 +44,7 @@ public class CommandSpeed extends SWCommand { speedCommand(p, 1); } + @Register public void speedCommand(Player p, float speed) { if (speed < 0 || speed > 10) { p.sendMessage(BauSystem.PREFIX + "§cBitte gib eine Zahl zwischen 0 und 10 an");