mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +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;
|
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)
|
private static int charLength(char x)
|
||||||
{
|
{
|
||||||
if("i;,.:|!".indexOf(x) != -1)
|
if("i;,.:|!".indexOf(x) != -1)
|
||||||
|
Loading…
Reference in New Issue
Block a user