Skulls should use underscores for player names, not spaces

Dieser Commit ist enthalten in:
Wizjany 2013-01-15 22:59:53 -05:00
Ursprung 2b29d1a253
Commit 83c71f30a8

Datei anzeigen

@ -570,7 +570,7 @@ public class WorldEdit {
else skullType = 3;
}
if (skullType == 3) {
return new SkullBlock(data, rot, type);
return new SkullBlock(data, rot, type.replace(" ", "_")); // valid MC usernames
} else {
return new SkullBlock(data, skullType, rot);
}