mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
Skulls should use underscores for player names, not spaces
This commit is contained in:
parent
2b29d1a253
commit
83c71f30a8
@ -570,7 +570,7 @@ public BaseBlock getBlock(LocalPlayer player, String arg,
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user