mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-17 13:31:16 +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)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue