mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-18 04:20:19 -07:00
Client sound fix (dropping still has sound issues)
Cache now includes all music + sfx + sound (taken from revision 550) Drop item handler - removed useless send audio
This commit is contained in:
parent
04a5d43d9f
commit
e2e8d5cad8
1 changed files with 1 additions and 2 deletions
|
|
@ -36,7 +36,6 @@ public final class DropItemHandler {
|
|||
return true;
|
||||
}
|
||||
player.getDialogueInterpreter().close();
|
||||
player.getAudioManager().send(new Audio(2393, 0, 0));
|
||||
player.getPulseManager().clear();
|
||||
if (option.equalsIgnoreCase("destroy") || option.equalsIgnoreCase("dissolve")) {
|
||||
player.getDialogueInterpreter().open(9878, item);
|
||||
|
|
@ -48,7 +47,7 @@ public final class DropItemHandler {
|
|||
}
|
||||
if (player.getInventory().replace(null, item.getSlot()) == item) {
|
||||
item = item.getDropItem();
|
||||
player.getAudioManager().send(new Audio(item.getId() == 995 ? 10 : 2739, 1, 0));
|
||||
player.getAudioManager().send(new Audio(item.getId() == 995 ? 10 : 2739, 1, 0));//2739 ACTUAL DROP SOUND
|
||||
GroundItemManager.create(item, player.getLocation(), player);
|
||||
PlayerParser.save(player);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue