Fixes issue #265 (sound module broken in bukkit/spigot/glowstone)

This commit is contained in:
walterhiggins 2015-08-16 11:50:27 +01:00
parent 62ff9034a6
commit bef42e3148

View file

@ -1,8 +1,7 @@
var bkLocation = org.bukkit.Location, var bkLocation = Packages.org.bukkit.Location,
i = 0, i = 0,
bukkit = require('bukkit'),
foreach = require('utils').foreach, foreach = require('utils').foreach,
allSounds = bukkit.sound.values(), allSounds = Packages.org.bukkit.Sound.values(),
len = allSounds.length, len = allSounds.length,
sound, sound,
soundName; soundName;