mirror of
https://github.com/danbulant/flying-squid
synced 2026-07-05 11:10:44 +00:00
fix spawning not in water, fix #63
This commit is contained in:
parent
894760ac36
commit
0fd80dcb7c
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ module.exports.server=function(serv,settings)
|
||||||
while(true)
|
while(true)
|
||||||
{
|
{
|
||||||
var p=await world.getBlockType(point);
|
var p=await world.getBlockType(point);
|
||||||
if(p.type!=8 && p.type!=9)
|
if(p!=8 && p!=9)
|
||||||
break;
|
break;
|
||||||
point=point.offset(1,0,0);
|
point=point.offset(1,0,0);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue