diff options
| author | Beha <shacknetisp@mail.com> | 2017-03-25 22:57:49 -0400 | 
|---|---|---|
| committer | Beha <shacknetisp@mail.com> | 2017-03-25 22:57:49 -0400 | 
| commit | d04443bd67e4b15cb47704e42573161fb3052408 (patch) | |
| tree | 5e8da5c2497020c9ae08f949128899f69e694c5d | |
| parent | 16312b1ce1df39e18fefff923c11c000e081986d (diff) | |
Be sure not to skip nodes.
| -rw-r--r-- | init.lua | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -811,7 +811,7 @@ local box_entity = {          self.lastpos = self.lastpos or pos          -- Loop through all travelled nodes. -        for y=self.lastpos.y,pos.y,((self.lastpos.y > pos.y) and -0.5 or 0.5) do +        for y=self.lastpos.y,pos.y,((self.lastpos.y > pos.y) and -0.3 or 0.3) do              local p = vector.round({x=pos.x, y=y, z=pos.z})              local node = get_node(p)              if node.name == "elevator:shaft" then | 
