mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Skulls should use underscores for player names, not spaces
This commit is contained in:
parent
2b29d1a253
commit
83c71f30a8
@ -570,7 +570,7 @@ public class WorldEdit {
|
|||||||
else skullType = 3;
|
else skullType = 3;
|
||||||
}
|
}
|
||||||
if (skullType == 3) {
|
if (skullType == 3) {
|
||||||
return new SkullBlock(data, rot, type);
|
return new SkullBlock(data, rot, type.replace(" ", "_")); // valid MC usernames
|
||||||
} else {
|
} else {
|
||||||
return new SkullBlock(data, skullType, rot);
|
return new SkullBlock(data, skullType, rot);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user