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

Poor coordinate check. #114

Open
AGLamake opened this issue Oct 28, 2021 · 1 comment
Open

Poor coordinate check. #114

AGLamake opened this issue Oct 28, 2021 · 1 comment

Comments

@AGLamake
Copy link

There is no check for y coordinate in the plugin when interacting with a cow.

Math.sqrt((corpseLocation.getX() - playerLoc.getX()) * (corpseLocation.getX() - playerLoc.getX()) + (corpseLocation.getZ() - playerLoc.getZ()) * (corpseLocation.getZ() - playerLoc.getZ()));

Because of this, people can open the cow's inventory simply by hitting the desired x and z coordinates.

@lsKOTsl
Copy link

lsKOTsl commented Aug 16, 2024

AGLamake ,dude, you're my savior

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

2 participants