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

jump(0,1,0) make bot start flying? #22

Open
dekros987 opened this issue May 4, 2017 · 0 comments
Open

jump(0,1,0) make bot start flying? #22

dekros987 opened this issue May 4, 2017 · 0 comments

Comments

@dekros987
Copy link

this is my code in public void packetReceived(PacketReceivedEvent event) {
if (message.getFullText().contains("jump")) {
bot.jump(0, 1, 0);
}
but when i say on chat "jump"
My Position: 62.5,67.0,-106.5
Inventory recieved!
add player : fcd52586-b6b4-310e-8255-20ee6ea3a7c6
Moving 62.5 67.5 -106.5
Moving 62.5 68.0 -106.5
BlockType(hardness=0.0, stackSize=0, diggable=false, boundingBox=empty, material=null, harvestTools=null, variations=null, drops=null)
Moving 62.5 67.5 -106.5
Moving 62.5 67.0 -106.5
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
Disconnected: Invalid move packet received
BlockType(hardness=0.0, stackSize=0, diggable=false, boundingBox=empty, material=null, harvestTools=null, variations=null, drops=null)
Moving 62.5 66.5 -106.5
this is my logs, what i do wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant