Commit 4ccd9944 by Jonathan Thomas

Reduced size of player skin face on chat bubble, to match sizes of custom icons (for consistency)

parent 697f0469
Pipeline #13285 passed with stages
in 2 minutes 11 seconds
......@@ -17,6 +17,7 @@ All notable changes to **CreatureChat** are documented in this file. The format
### Changed
- Seperated Player and Entity message broadcasts (different packets for simplicity)
- Reduced size of player skin face on chat bubble, to match sizes of custom icons (for consistency)
### Fixed
- Fixed death messages for mobs with no chat data
......
......@@ -288,6 +288,12 @@ public class BubbleRenderer {
.color(255, 255, 255, 255).texture(newU1, newV1).light(light).overlay(overlay).next();
}
} else {
// make skin appear smaller and centered
x += 2;
y += 2;
width -= 4;
height -= 4;
// Normal face coordinates
float u1 = 8.0F / 64.0F;
float v1 = 8.0F / 64.0F;
......
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