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
1 changed files with 2 additions and 3 deletions

View File

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