MagicPlugin
MagicPlugin copied to clipboard
[Bug] Can't change the slot to equip with Eqiup Action
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:

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.
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