Nahrát soubory do „“
parent
94b39c8568
commit
d7db4addc9
|
@ -0,0 +1,22 @@
|
|||
variables:
|
||||
{sgchest} = false
|
||||
|
||||
command /sgchest [<text>]:
|
||||
permission: op
|
||||
trigger:
|
||||
if arg-1 is not set:
|
||||
send "&c/sgchest on &7- zapne loot chestiek" to player
|
||||
send "&c/sgchest off &7- vypne loot chestiek" to player
|
||||
if arg-1 is "on":
|
||||
set {sgchest} to true
|
||||
if arg-1 is "off":
|
||||
set {sgchest} to false
|
||||
|
||||
on right click on chest:
|
||||
if {sgchest} = true:
|
||||
cancel event
|
||||
wait 1 tick
|
||||
break the block
|
||||
else if {sgchest} = false:
|
||||
stop
|
||||
|
Loading…
Reference in New Issue