Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move iterators to pworld #1542

Merged
merged 2 commits into from
Dec 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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