mirror of
https://github.com/array-in-a-matrix/brainwine.git
synced 2025-04-02 11:11:58 -04:00
Get rid of dashes from item titles
This commit is contained in:
parent
408abf3ac7
commit
5fd4cf7fcf
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ public class GameConfiguration {
|
|||
|
||||
// Create an item title if it's missing
|
||||
if(!config.containsKey("title")) {
|
||||
String title = WordUtils.capitalize(segments.length > 1 ? segments[1] : segments[0]);
|
||||
String title = WordUtils.capitalize((segments.length > 1 ? segments[1] : segments[0]).replace("-", " "));
|
||||
config.put("title", title);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue