Browse Source

Add toString for TranslationKey

Lortseam 4 năm trước cách đây
mục cha
commit
d67c8cad11

+ 5 - 0
lib/src/main/java/me/lortseam/completeconfig/text/TranslationKey.java

@@ -82,4 +82,9 @@ public final class TranslationKey {
         return Optional.empty();
     }
 
+    @Override
+    public String toString() {
+        return getKey();
+    }
+
 }