我有一个包含错误列表的.yml文件.这是它的样子:
explosivearrow:
spell-class: ".instant.ProjectileSpell"
name: explosivearrow
spell-icon: arrow
description: Cause an explosion where an arrow lands
cast-item: blaze_rod
cooldown: 1
projectile: arrow
velocity: 0
require-hit-entity: false
cancel-damage: true
remove-projectile: true
max-distance: 30
spells: [explode]
cost:
- mana 30
str-cost: 30 mana
str-cast-self: Shebang! Take that one!
Run Code Online (Sandbox Code Playgroud)
这是它需要的样子:
explosivearrow:
spell-class: ".instant.ProjectileSpell"
name: explosivearrow
spell-icon: arrow
description: Cause an explosion where an arrow lands
cast-item: blaze_rod
cooldown: 1
projectile: arrow
velocity: 0
require-hit-entity: false
cancel-damage: true
remove-projectile: true
max-distance: 30
spells: [explode]
cost:
- mana 30
str-cost: 30 mana
str-cast-self: Shebang! Take that one!
Run Code Online (Sandbox Code Playgroud)
所以基本上我需要删除文件的frist列.我可以手动完成,但我真的不想从1519行退格4个空格......任何人都可以帮助我吗?这是我的第一个问题,所以如果我做错了,我会道歉.