hsyyid / EssentialCmds

EssentialCmds adds useful commands to Minecraft
https://bit.ly/2HPQ9tR
MIT License
31 stars 21 forks source link

Issue with jumping #66

Open 12awsomeman34 opened 8 years ago

12awsomeman34 commented 8 years ago

The issue is when I'm on my server, and I perform /jump

image

I am teleported into a position like this:

image2

to the side of the block. I think this may be an issue with Sponge teleporting the player to the intersection of four blocks, rather than in the middle of one block. See here for how I had to deal with that in my own plugin. I've experimented with it and it does different things in different directions.

As I see it, there are a couple ways to handle it:

Thoughts?

Using EssentialCmds 7.5b Using SpongeForge 1151

12awsomeman34 commented 8 years ago

An update: The ray seems to prefer east of all directions. It may be an issue with SpongeCommon (not sure really). I did some experimenting around and can't seem to find the root of the issue, so if you could find it or figure if it has something to do with SpongeCommon, that'd be great.

Also, teleporting a player through the block is also probably a bad idea (recently noticed /thru does this :P).