Closed DanikVitek closed 2 years ago
This issue is not really clear, anyway you must know that player can attack/interact also with the invisible bones, so you can interact with the custom entity if you have a bone on top of the entity itself. This might be the reason
I'll try to fix that by forcefully refreshing the hitbox in some cases
Discord tag (optional)
Danik Vitek#9110
What happened?
Sometimes, when a player goes away from the custom entity (CE) and returns back, the CE hitbox becomes felt by the player as the original hitbox of the base entity and the player can interact with it as it is the hitbox of CE (damage dealing, right-clicking, but not pushing)
Steps to reproduce the issue
Server version
This server is running Paper version git-Paper-268 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT) (Git: e2f743d)
ItemsAdder Version
ItemsAdder version 3.1.1-beta2
ProtocolLib Version
ProtocolLib version 4.8.0
LoneLibs Version
LoneLibs version 1.0.18
LightAPI Version (optional)
LightAPI version bukkit-5.2.0 (build SNAPSHOT)
ItemsAdder config.yml
Problematic items yml configuration file (optional)
Other files, you can drag and drop them here to upload. (optional)
military_machines.zip
Screenshots/Videos (you can drag and drop files or paste links)
https://streamable.com/j228vk https://streamable.com/d7me3q