Fix item names for golden items in KitPVP

This commit is contained in:
Christer Warén
2026-01-01 12:32:32 +02:00
parent ef9d3f2ede
commit 698fbc443c

View File

@@ -83,7 +83,7 @@ command /kitpvp [<string>] [<string>]:
format slot loop-integer of player with gray stained glass pane named "&7" to be unstealable
format slot 11 of player with iron sword named "&fSotilas" to close then run [execute player command "/kitpvp setkit soldier"]
format slot 13 of player with gold boots named "&fVauhtihirmu" to close then run [execute player command "/kitpvp setkit speedster"]
format slot 13 of player with golden boots named "&fVauhtihirmu" to close then run [execute player command "/kitpvp setkit speedster"]
format slot 15 of player with bow named "&fJousimies" to close then run [execute player command "/kitpvp setkit archer"]
stop
else:
@@ -113,12 +113,12 @@ command /kitpvp [<string>] [<string>]:
set player's boots to iron boots
set slot 0 of player's inventory to 1 of iron sword
if {kitpvp.%player's name%.kit} is "speedster":
set player's helmet to gold helmet
set player's chestplate to gold chestplate
set player's leggings to gold leggings
set player's boots to gold boots
set player's helmet to golden helmet
set player's chestplate to golden chestplate
set player's leggings to golden leggings
set player's boots to golden boots
set the player's walk speed to 0.4
set slot 0 of player's inventory to 1 of gold sword
set slot 0 of player's inventory to 1 of golden sword
if {kitpvp.%player's name%.kit} is "archer":
set player's helmet to chainmail helmet
set player's chestplate to chainmail chestplate