From 1637f92ecb22e074f9667ead12a36701b069a672 Mon Sep 17 00:00:00 2001 From: Brianna Date: Wed, 15 May 2019 23:26:42 -0400 Subject: [PATCH] Fix sound in 1.9 --- src/main/java/com/songoda/ultimatekits/gui/GUIKitEditor.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/songoda/ultimatekits/gui/GUIKitEditor.java b/src/main/java/com/songoda/ultimatekits/gui/GUIKitEditor.java index 8d9081b..7d5a3d2 100644 --- a/src/main/java/com/songoda/ultimatekits/gui/GUIKitEditor.java +++ b/src/main/java/com/songoda/ultimatekits/gui/GUIKitEditor.java @@ -531,8 +531,7 @@ public class GUIKitEditor extends AbstractGUI { player.updateInventory(); } - if (plugin.isServerVersionAtLeast(ServerVersion.V1_9)) - player.playSound(player.getLocation(), plugin.isServerVersionAtLeast(ServerVersion.V1_13) ? Sound.ENTITY_VILLAGER_YES : Sound.valueOf("VILLAGER_YES"), 1F, 1F); + player.playSound(player.getLocation(), plugin.isServerVersionAtLeast(ServerVersion.V1_9) ? Sound.ENTITY_VILLAGER_YES : Sound.valueOf("VILLAGER_YES"), 1F, 1F); }); }