August 18, 201510 yr you don't need to make your own boolean methods, just the the methods from Worlds class hopToP2pWorld(); plus i don't think you need to logout before, the method will probably log out/switch for you
August 19, 201510 yr All hopping happens via the World Switch tab. There is no need to log out. I'm not sure how you could be thinking that empty methods called logout and hop could possibly do anything; but you should probably take a look at the API docs (Worlds class). also this: player.getPosition().distance(null) is quite silly. It's either always going to throw an exception or return -1. A players distance to nothing is hard to calculate. In short, you should probably check out some basic programming tutorials
Create an account or sign in to comment