aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java b/src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java
index bc6e9c0..72b5527 100644
--- a/src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java
+++ b/src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java
@@ -26,6 +26,7 @@
package cc.polyfrost.oneconfig.utils;
+import cc.polyfrost.oneconfig.internal.utils.Deprecator;
import cc.polyfrost.oneconfig.renderer.RenderManager;
import cc.polyfrost.oneconfig.renderer.font.Font;
@@ -47,7 +48,9 @@ public final class TextUtils {
* @param font The font to use.
* @return The array of lines.
*/
+ @Deprecated
public static ArrayList<String> wrapText(long vg, String text, float maxWidth, float fontSize, Font font) {
+ Deprecator.markDeprecated();
ArrayList<String> wrappedText = new ArrayList<>();
text += " ";
int prevIndex = 0;