From 4e68fe802dbbcebe2359aa03eea959060a196067 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 23 Aug 2021 22:51:05 +0200 Subject: [PATCH] Add Whooosh to TimeCommand Signed-off-by: yoyosource --- BauSystem_Main/src/BauSystem.properties | 1 + .../src/de/steamwar/bausystem/features/other/TimeCommand.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/BauSystem_Main/src/BauSystem.properties b/BauSystem_Main/src/BauSystem.properties index fcf18e04..5be01200 100644 --- a/BauSystem_Main/src/BauSystem.properties +++ b/BauSystem_Main/src/BauSystem.properties @@ -365,6 +365,7 @@ OTHER_TELEPORT_SELF_4=§cFür eine solche Distanz? OTHER_TIME_HELP_1=§8/§etime §8<§7Zeit 0=Morgen§8, §76000=Mittag§8, §718000=Mitternacht§8> - §7Setzt die Zeit auf dem Bau OTHER_TIME_NO_PERM=§cDu darfst hier nicht die Zeit ändern OTHER_TIME_INVALID=§cBitte gib eine Zahl zwischen 0 und 24000 an +OTHER_TIME_RESULT=§7§oWhooosh OTHER_WORLDSPAWN_HELP_1=§8/§eworldspawn §8-§e Teleportiere dich zum Spawn # DebugStick DEBUG-STICK_COMMAND_HELP=§8/§edebugstick §8-§7 Erhalte einen DebugStick diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/other/TimeCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/other/TimeCommand.java index f08cfc31..1944bfcc 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/other/TimeCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/other/TimeCommand.java @@ -54,6 +54,7 @@ public class TimeCommand extends SWCommand { return; } Bukkit.getWorlds().get(0).setTime(time.getValue()); + BauSystem.MESSAGE.send("OTHER_TIME_RESULT", p); } @Register @@ -67,6 +68,7 @@ public class TimeCommand extends SWCommand { return; } Bukkit.getWorlds().get(0).setTime(time); + BauSystem.MESSAGE.send("OTHER_TIME_RESULT", p); } @ClassMapper(value = int.class, local = true)