fix spawning not in water, fix #63

This commit is contained in:
Romain Beaumont 2015-12-14 23:23:13 +01:00
parent 894760ac36
commit 0fd80dcb7c

View file

@ -17,7 +17,7 @@ module.exports.server=function(serv,settings)
while(true)
{
var p=await world.getBlockType(point);
if(p.type!=8 && p.type!=9)
if(p!=8 && p!=9)
break;
point=point.offset(1,0,0);
}