Commit e69a6c45 by Jonathan Thomas

Don't click chat bubbles for entities who have passengers (the math is very wrong)

parent 6c5fe7bc
Pipeline #11981 passed with stage
in 19 seconds
......@@ -160,7 +160,7 @@ public class ClickHandler {
// Iterate through the entities to check for hits
for (MobEntity entity : nearbyCreatures) {
if (entity.getType() == EntityType.PLAYER) {
if (entity.getType() == EntityType.PLAYER || entity.hasPassengers()) {
// Skip Player
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment