Removed another sound from 1.8.

This commit is contained in:
Brianna 2019-05-03 18:44:27 -04:00
parent 923b443974
commit b6f79ff031

View File

@ -531,7 +531,8 @@ public class GUIKitEditor extends AbstractGUI {
player.updateInventory();
}
player.playSound(player.getLocation(), plugin.isServerVersionAtLeast(ServerVersion.V1_13) ? Sound.ENTITY_VILLAGER_YES : Sound.valueOf("VILLAGER_YES"), 1F, 1F);
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);
});
}