Fix sound in 1.9

This commit is contained in:
Brianna 2019-05-15 23:26:42 -04:00
parent 5880e2d0a3
commit 1637f92ecb

View File

@ -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);
});
}