Skip to content

Commit

Permalink
fix block.position (not in pchunk, but was in mineflayer)
Browse files Browse the repository at this point in the history
  • Loading branch information
rom1504 committed Jan 8, 2017
1 parent 7444b63 commit 0da3b21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/plugins/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ function inject(bot) {
if(!column) return null;

block=column.getBlock(posInChunk(absolutePoint));
block.position = loc.floored;
block.signText = signs[loc.floored];
block.painting = paintingsByPos[loc.floored];

Expand Down

0 comments on commit 0da3b21

Please sign in to comment.