From 83c71f30a8c9331d5c8d31eb0a4f50f0a693f744 Mon Sep 17 00:00:00 2001 From: Wizjany Date: Tue, 15 Jan 2013 22:59:53 -0500 Subject: [PATCH] Skulls should use underscores for player names, not spaces --- src/main/java/com/sk89q/worldedit/WorldEdit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/WorldEdit.java b/src/main/java/com/sk89q/worldedit/WorldEdit.java index 617618100..6338fa6d9 100644 --- a/src/main/java/com/sk89q/worldedit/WorldEdit.java +++ b/src/main/java/com/sk89q/worldedit/WorldEdit.java @@ -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); }