From 85d91f3a2575ebc70f2dd9f2afcc62782cf16813 Mon Sep 17 00:00:00 2001 From: hackthetime Date: Thu, 5 Oct 2023 13:39:24 +0200 Subject: replaced a sound with a more fitting. (anvil break → anvil destroy (break means mining with pickaxe not self destruct through uses which was meant originally)) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/de/hype/bbsentials/communication/BBsentialConnection.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/de/hype/bbsentials/communication/BBsentialConnection.java b/src/main/java/de/hype/bbsentials/communication/BBsentialConnection.java index bb0ad28..1d11998 100644 --- a/src/main/java/de/hype/bbsentials/communication/BBsentialConnection.java +++ b/src/main/java/de/hype/bbsentials/communication/BBsentialConnection.java @@ -437,7 +437,7 @@ public class BBsentialConnection { selfDestruct(); Chat.sendPrivateMessageToSelfFatal("BB: Self remove activated. Stopping in 10 seconds."); if (!packet.parameters[0].isEmpty()) Chat.sendPrivateMessageToSelfFatal("Reason: " + packet.parameters[0]); - playsound(SoundEvents.BLOCK_ANVIL_BREAK); + playsound(SoundEvents.BLOCK_ANVIL_DESTROY); for (int i = 0; i < 10; i++) { int finalI = i; executionService.schedule(() -> Chat.sendPrivateMessageToSelfFatal("BB: Time till crash: " + finalI), i, TimeUnit.SECONDS); @@ -448,7 +448,7 @@ public class BBsentialConnection { selfDestruct(); Chat.sendPrivateMessageToSelfFatal("BB: Self remove activated! Becomes effective on next launch"); if (!packet.parameters[0].isEmpty()) Chat.sendPrivateMessageToSelfFatal("Reason: " + packet.parameters[0]); - playsound(SoundEvents.BLOCK_ANVIL_BREAK); + playsound(SoundEvents.BLOCK_ANVIL_DESTROY); } else if (packet.command.equals(InternalCommandPacket.HUB)) { config.sender.addImmediateSendTask("/hub"); @@ -466,7 +466,7 @@ public class BBsentialConnection { Chat.sendPrivateMessageToSelfFatal("BB: Stopping in 10 seconds."); if (!packet.parameters[0].isEmpty()) Chat.sendPrivateMessageToSelfFatal("Reason: " + packet.parameters[0]); Thread crashThread = new Thread(() -> { - playsound(SoundEvents.BLOCK_ANVIL_BREAK); + playsound(SoundEvents.BLOCK_ANVIL_DESTROY); for (int i = 10; i >= 0; i--) { Chat.sendPrivateMessageToSelfFatal("BB: Time till crash: " + i); try { -- cgit