neural networks fully set up for velocity
This commit is contained in:
13
src/main/java/net/nuggetmc/ai/utils/StringUtilities.java
Normal file
13
src/main/java/net/nuggetmc/ai/utils/StringUtilities.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package net.nuggetmc.ai.utils;
|
||||
|
||||
import net.md_5.bungee.api.ChatColor;
|
||||
|
||||
public class StringUtilities {
|
||||
|
||||
public static final String ON = ChatColor.GREEN.toString();
|
||||
public static final String OFF = ChatColor.GRAY.toString();
|
||||
|
||||
public static String trim16(String str) {
|
||||
return str.length() > 16 ? str.substring(0, 16) : str;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user