[SOLVED] Sponge API v2.0 vs v2.1 and Texts.fromLegacy(...)

What is the recommended alternative to the now non-existant Texts.fromLegacy(String, char). If it still exist please do tell!

I am building against org.spongepowered:spongeapi:2.1-SNAPSHOT.

SOLUTION
Texts.legacy(char).from(String);

Texts.legacy().from(String);

You could also look at this PR for the full Texts related changes

Texts.legacy(char).from(String);

1 Like

Maybe if you didn’t get it the first few times

Texts.legacy().from(String);

:stuck_out_tongue:

2 Likes

Agh, an exception?!?!? Unacceptable!!

Thanks guys!