Skip to content

Commit

Permalink
Fix generator does not generate blocks that are pushed by piston to u…
Browse files Browse the repository at this point in the history
…p or down
  • Loading branch information
HirziDevs committed Jun 20, 2024
1 parent a71876e commit 5d4e64f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ if(config.piston || config.player === null || config.player === undefined) world
{ x: location.x + 1, y: location.y, z: location.z },
{ x: location.x - 1, y: location.y, z: location.z },
{ x: location.x, y: location.y, z: location.z + 1 },
{ x: location.x, y: location.y, z: location.z - 1 }
{ x: location.x, y: location.y, z: location.z - 1 },
{ x: location.x, y: location.y + 1, z: location.z },
{ x: location.x, y: location.y - 1, z: location.z }
]

for (const blockLocation of locations) {
Expand Down

0 comments on commit 5d4e64f

Please sign in to comment.