mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 14:46:46 +01:00
Comments added to charLength function
This commit is contained in:
parent
6c922a02c8
commit
a0552c1f31
@ -132,6 +132,12 @@ public class vMinecraftChat {
|
||||
return output;
|
||||
}
|
||||
|
||||
//=====================================================================
|
||||
//Function: charLength
|
||||
//Input: char x: The character to find the length of.
|
||||
//Output: int: The length of the character
|
||||
//Use: Finds the visual length of the character on the screen.
|
||||
//=====================================================================
|
||||
private static int charLength(char x)
|
||||
{
|
||||
if("i;,.:|!".indexOf(x) != -1)
|
||||
|
Loading…
Reference in New Issue
Block a user