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

bug with reach mechanic. #51

Open
malthenon opened this issue Apr 26, 2019 · 0 comments
Open

bug with reach mechanic. #51

malthenon opened this issue Apr 26, 2019 · 0 comments

Comments

@malthenon
Copy link

FMLClientHandler.instance().getClient().playerController.attackEntity(entityPlayer,

been having some issues with the reach mechanic. It is fine if there is a single player, the problem arises when there is a player looking at an entity within render distance of a player using a reach weapon. steps to re-produce below.

  1. player 'A' has a weapon with reach. player 'B' does not.
  2. player 'A' and 'B' are both looking at two different entities.
  3. player 'A' hits entity 'A' with reach weapon, player 'B' does nothing but look at entity 'B'
  4. entity 'A' receives damage from player 'A' based on what item they were holding and entity 'B' receives damage from player 'B' based on what item they were holding.

it is kind of annoying because i'm developing a rpg pack and you could be trading with an npc and have a player across town hit a zombie and you would hit the npc you are trading with, causing them to dislike you and the guards to aggro on you.

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