You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
ProjectileHitEvent does not include the face variable - from which direction a block was shot.
When parsing the ProjectileHitEvent with the Python mcpi API, this leads either to an exception if no entity was shot (because too few arguments were provided) or the shooter id is actually consumed by the face variable, which then looks like the entity shot was the shooter.
Problem:
ProjectileHitEvent does not include the
face
variable - from which direction a block was shot.When parsing the ProjectileHitEvent with the Python mcpi API, this leads either to an exception if no entity was shot (because too few arguments were provided) or the shooter id is actually consumed by the face variable, which then looks like the entity shot was the shooter.
Location in code:
JuicyRaspberryPie/bukkit/src/main/java/org/wensheng/juicyraspberrypie/RemoteSession.java
Line 348 in aebb642
Solution:
Simply send the BlockFace after sending the location but before sending the player unique id.
The text was updated successfully, but these errors were encountered: