forked from ssblur/scriptor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathno_block_spell.patch
More file actions
20 lines (19 loc) · 1.95 KB
/
Copy pathno_block_spell.patch
File metadata and controls
20 lines (19 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/common/src/main/kotlin/com/ssblur/scriptor/word/action/CommandAction.kt b/common/src/main/kotlin/com/ssblur/scriptor/word/action/CommandAction.kt
index 74d5dae..644bd3b 100644
--- a/common/src/main/kotlin/com/ssblur/scriptor/word/action/CommandAction.kt
+++ b/common/src/main/kotlin/com/ssblur/scriptor/word/action/CommandAction.kt
@@ -18,6 +18,7 @@ import net.minecraft.world.entity.MobSpawnType
import net.minecraft.world.entity.decoration.ArmorStand
import net.minecraft.world.entity.player.Player
import net.minecraft.world.phys.Vec2
+import java.util.*
@Suppress("unused")
class CommandAction @JvmOverloads constructor(
@@ -110,6 +111,7 @@ class CommandAction @JvmOverloads constructor(
} else {
for (i in blockTargetCommand) commandToParse.add(
String.format(
+ Locale.US,
"execute positioned %f %f %f in %s run %s",
pos.x,
pos.y,