From c06268dade12079414451a859813ba168c85b436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Wed, 28 Oct 2020 02:34:11 +0200 Subject: [PATCH] Update --- mirricraft-kitpvp.sk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mirricraft-kitpvp.sk b/mirricraft-kitpvp.sk index 24bada2..be58c3b 100644 --- a/mirricraft-kitpvp.sk +++ b/mirricraft-kitpvp.sk @@ -25,6 +25,8 @@ command /kitpvp [] []: if {kitpvp.%player%.kit} is set: if {kitpvp.%player%.kit} is "soldier": format slot 14 of player with iron chestplate named "&fKitit" with lore "Sotilas" to close then run [execute player command "/kitpvp setkit"] + if {kitpvp.%player%.kit} is "speedster": + format slot 14 of player with iron chestplate named "&fKitit" with lore "Vauhtihirmu" to close then run [execute player command "/kitpvp setkit"] else: format slot 14 of player with iron chestplate named "&fKitit" to close then run [execute player command "/kitpvp setkit"] @@ -98,14 +100,14 @@ command /kitpvp [] []: set player's chestplate to iron chestplate set player's leggings to iron leggings set player's boots to iron boots - set slot 1 of player's inventory to 1 of iron sword + set slot 1 of player's inventory to 0 of iron sword if {kitpvp.%player%.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 the player's walk speed to 0.6 - set slot 1 of player's inventory to 1 of gold sword + set slot 1 of player's inventory to 0 of gold sword else: make player execute command "/kitpvp"