mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-29 20:48:01 +01:00
Implemented player letter width method
This commit is contained in:
parent
bd5962a1c5
commit
b47fde8e97
@ -20,6 +20,7 @@ public class PlayerChatFormatter extends ChatFormatter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getWidth(String part) {
|
public int getWidth(String part) {
|
||||||
return part.length(); // TODO
|
// TODO refactor
|
||||||
|
return com.djrapitops.plan.utilities.chat.ChatFormatter.getPxMessageWidth(part);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user