Commit 6c5fe7bc by Jonathan Thomas

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

parent ecb58952
Pipeline #11980 passed with stage
in 21 seconds
......@@ -239,8 +239,8 @@ public class BubbleRenderer {
.collect(Collectors.toList());
for (MobEntity entity : nearbyCreatures) {
if (entity.getType() == EntityType.PLAYER) {
// Skip Player
if (entity.getType() == EntityType.PLAYER || entity.hasPassengers()) {
// Skip
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