Merge branch 'development' into 'master'

fix

See merge request Songoda/ultimatekits!38
This commit is contained in:
Brianna O'Keefe 2019-05-16 03:29:23 +00:00
commit 58af928538

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