Removes the replacement of spaces to underscores for the cleanString method
Some checks failed
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
Some checks failed
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
This commit is contained in:
parent
e1a3d2d560
commit
51f5420f9e
@ -304,8 +304,7 @@ public class Portal {
|
||||
* @return <p>The clean string</p>
|
||||
*/
|
||||
public static String cleanString(String string) {
|
||||
string = ChatColor.stripColor(ChatColor.translateAlternateColorCodes('&', string));
|
||||
return string.toLowerCase().replace(' ', '_');
|
||||
return ChatColor.stripColor(ChatColor.translateAlternateColorCodes('&', string)).toLowerCase();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user