include object methods in tab complete

This commit is contained in:
walterhiggins 2013-01-29 22:02:30 +00:00
parent 2ffb1ff78d
commit a621c473c1

View file

@ -248,8 +248,6 @@ var server = org.bukkit.Bukkit.server;
}
}else{
for (var i in o){
if (!o.hasOwnProperty(i))
continue;
if (i.match(/^[^_]/)){
if (typeof o[i] == "function")
result.push(i+"()");