mirror of
https://github.com/songoda/UltimateKits.git
synced 2024-11-22 18:26:12 +01:00
Fix sound in 1.9
This commit is contained in:
parent
5880e2d0a3
commit
1637f92ecb
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user