Removed problems from old Denizen code

This commit is contained in:
Rares Bozga
2025-12-10 22:36:00 +02:00
parent ee1528fe87
commit a77544467d
28 changed files with 92 additions and 81 deletions

View File

@@ -102,12 +102,12 @@ templatetools_command_ttsetcursor:
- stop
- define material <player.cursor_on.material.if_null[null]>
- if <[material]> == null:
- narrate "<&c>Invalid material. Please look at a material to set first!"
- stop
- narrate "<&c>Invalid material. Please look at a material to set first!"
- stop
- define we_selection <player.we_selection.if_null[null]>
- if <[we_selection]> == null:
- narrate "<&c>You must first make a WorldEdit selection."
- stop
- narrate "<&c>You must first make a WorldEdit selection."
- stop
- ~modifyblock <[we_selection]> <[material]> no_physics
- narrate format:templatetools_formats_main "Set cursor blocks (<[we_selection].volume.if_null[?]>)."
@@ -125,6 +125,6 @@ templatetools_command_that:
- if <[material]> == null:
- narrate "<&c>Nothing to copy."
- define item <item[<[material].name>].if_null[null]>:
- narrate "<&c>Nothing to copy."
- narrate "<&c>Nothing to copy."
- inventory set slot:hand origin:<[item]>
- narrate format:templatetools_formats_main "Copied <[material].name>."
- narrate format:templatetools_formats_main "Copied <[material].name>."