MagicPlugin icon indicating copy to clipboard operation
MagicPlugin copied to clipboard

[Bug] Can't change the slot to equip with Eqiup Action

Open tororo1066 opened this issue 3 years ago • 2 comments

Try spell:

test_slash:
  creator: tororo_1066
  creator_id: b4ec7d4f-4b7e-43c1-bb7d-83e1dd29e591
  name: My New Spell
  description: Damage Your Target
  icon: stick
  actions:
    cast:
      - class: ArmorStandProjectile
        speed: 0
        right_arm_item: potion{CustomModelData:11}:#00B3FF
        spawn:
          - class: Delay
            delay: 50
          - class: Equip
            item: potion{CustomModelData:12}:#00B3FF
            slot: main_hand
          - class: Delay
            delay: 50
          - class: Equip
            item: potion{CustomModelData:13}:#00B3FF
            slot: main_hand

Error: image

tororo1066 avatar Jul 19 '22 05:07 tororo1066

Hello, I apologize for never responding to this- I realize it is years old. I don't think I ever noticed it, sometimes these issues sli by me.

If this is still not working I will reopen this ticket, the main_hand slot should work for the Wear/Equip actions.

NathanWolf avatar Apr 19 '25 16:04 NathanWolf

No problem, thanks for the support. Even if I set the class to Wear, the same error occurs and it doesn't work.

Version (in 1.20.4):

[20:17:16 INFO]: Magic version 10.8.13-51eeb6a
[20:17:16 INFO]: A gameplay-oriented plugin for spells and wands
[20:17:16 INFO]: Website: http://mine.elmakers.com
[20:17:16 INFO]: Author: NathanWolf

tororo1066 avatar May 16 '25 11:05 tororo1066