Skip to content

Commit

Permalink
Move iterators to pworld (#1542)
Browse files Browse the repository at this point in the history
* Move iterators to pworld

* update pworld
  • Loading branch information
rom1504 authored Dec 28, 2020
1 parent 20c185d commit 69ced8b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 166 deletions.
163 changes: 0 additions & 163 deletions lib/iterators.js

This file was deleted.

2 changes: 1 addition & 1 deletion lib/plugins/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const Painting = require('../painting')
const Location = require('../location')
const { callbackify, sleep } = require('../promise_utils')

const { OctahedronIterator } = require('../iterators')
const { OctahedronIterator } = require('prismarine-world').iterators

module.exports = inject

Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/ray_trace.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { Vec3 } = require('vec3')
const { RaycastIterator } = require('../iterators')
const { RaycastIterator } = require('prismarine-world').iterators

module.exports = (bot) => {
function getViewDirection (pitch, yaw) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"prismarine-physics": "^1.0.4",
"prismarine-recipe": "^1.1.0",
"prismarine-windows": "^1.5.0",
"prismarine-world": "^3.1.0",
"prismarine-world": "^3.2.0",
"protodef": "^1.8.0",
"typed-emitter": "^1.2.0",
"vec3": "^0.1.6"
Expand Down

0 comments on commit 69ced8b

Please sign in to comment.