From 640ea50149c5c2cc1e87e030f639d63d7adcd7ec Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Sun, 11 Dec 2016 20:30:00 -0600 Subject: [PATCH] Make regular item pickup sound global. --- .../TwosideKeeper/HelperStructures/Common/GenericFunctions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sig/plugin/TwosideKeeper/HelperStructures/Common/GenericFunctions.java b/src/sig/plugin/TwosideKeeper/HelperStructures/Common/GenericFunctions.java index a239b38..d4c799c 100644 --- a/src/sig/plugin/TwosideKeeper/HelperStructures/Common/GenericFunctions.java +++ b/src/sig/plugin/TwosideKeeper/HelperStructures/Common/GenericFunctions.java @@ -3838,7 +3838,7 @@ public class GenericFunctions { public static boolean giveItem(Player p, ItemStack... items) { HashMap remaining = p.getInventory().addItem(items); if (remaining.isEmpty()) { - SoundUtils.playLocalSound(p, Sound.ENTITY_ITEM_PICKUP, 1.0f, 1.0f); + SoundUtils.playGlobalSound(p.getLocation(), Sound.ENTITY_ITEM_PICKUP, 1.0f, 1.0f); return true; } else { for (Integer i : remaining.keySet()) {