KitPVP Update 3

This commit is contained in:
Christer Warén 2020-10-24 10:10:45 +03:00
parent 54219598d2
commit e63f83d476

View File

@ -1,5 +1,5 @@
# --- KitPVP --- # --- KitPVP ---
command /kitpvp: command /kitpvp [<string>] [<string>]:
description: Spawn description: Spawn
executable by: players executable by: players
trigger: trigger:
@ -103,14 +103,14 @@ on quit:
on leftclick: on leftclick:
if player's world is "minigames": if player's world is "minigames":
if event-item is chest named "&fKitPVP": if event-item is chest named "&fKitPVP":
make player execute command "/kitpvp gui" make player execute command "/kitpvp"
cancel the event cancel the event
wait 2 tick wait 2 tick
on rightclick: on rightclick:
if player's world is "minigames": if player's world is "minigames":
if event-item is chest named "&fKitPVP": if event-item is chest named "&fKitPVP":
make player execute command "/kitpvp gui" make player execute command "/kitpvp"
cancel the event cancel the event
wait 2 tick wait 2 tick