Implemented player letter width method

This commit is contained in:
Rsl1122 2020-07-13 21:07:42 +03:00 committed by Risto Lahtela
parent bd5962a1c5
commit b47fde8e97

View File

@ -20,6 +20,7 @@ public class PlayerChatFormatter extends ChatFormatter {
@Override
public int getWidth(String part) {
return part.length(); // TODO
// TODO refactor
return com.djrapitops.plan.utilities.chat.ChatFormatter.getPxMessageWidth(part);
}
}