Commit 7291e2f9 authored by Tommy Ang's avatar Tommy Ang 🤣

Missing commit

parent f25786fb
......@@ -1140,7 +1140,7 @@ on right click on a brewing stand:
# End of Brewing stand #
# Shulker box #
on left click on a any_shulker box:
on left click on a any shulker box:
if player is sneaking:
if {plock.%block%} is set:
cancel event
......@@ -1204,7 +1204,7 @@ on left click on a any_shulker box:
set {plock.readytolock.%player%} to 0
message "{@Prefix} &eShulker box is now locked."
on break of a any_shulker box:
on break of a any shulker box:
if {plock.%block%} is 1 or "shulkerbox":
if "%{plock.%block%.owner}%" is player's name:
clear {plock.user.%block%::*}
......@@ -1220,7 +1220,7 @@ on break of a any_shulker box:
cancel event
message "{@Prefix}&cYou are not allowed to break this shulker box!"
on right click on a any_shulker box:
on right click on a any shulker box:
if {plock.%block%} is 1 or "shulkerbox":
if player is sneaking:
if player is op:
......@@ -1294,8 +1294,8 @@ on break of a mob spawner:
# End of Spawner #
# Rails #
on place of any rail or an activator rail:
if block above is a chest or a trapped chest or a furnace or a dispenser or a dropper or a hopper or a brewing stand or any_shulker box:
on place of a rail or an activator rail:
if block above is a chest or a trapped chest or a furnace or a dispenser or a dropper or a hopper or a brewing stand or any shulker box:
set {_lockcheck} to block above
if {plock.%{_lockcheck}%} is set:
if "%{plock.%{_lockcheck}%.owner}%" is player's name:
......@@ -1348,7 +1348,7 @@ on explode:
remove loop-item from loop-block
delete loop-block
if {plock.%loop-block%} is "furnace":
set {oreslot.%loop-block%} to the ore slot of loop-block
set {oreslot.%loop-block%} to the ore slot of loop-block
set {fuelslot.%loop-block%} to the fuel slot of loop-block
set {resultslot.%loop-block%} to the result slot of loop-block
clear ore slot of loop-block
......@@ -1405,37 +1405,37 @@ on explode:
set {_eventlocation} to location of loop-block
wait 3 ticks
if {plock.%loop-block%.color} is "white":
set block at {_eventlocation} to white_shulker_box
set block at {_eventlocation} to white shulker box
if {plock.%loop-block%.color} is "orange":
set block at {_eventlocation} to orange_shulker_box
set block at {_eventlocation} to orange shulker box
if {plock.%loop-block%.color} is "magenta":
set block at {_eventlocation} to magenta_shulker_box
set block at {_eventlocation} to magenta shulker box
if {plock.%loop-block%.color} is "light_blue":
set block at {_eventlocation} to light_blue_shulker_box
set block at {_eventlocation} to light blue shulker box
if {plock.%loop-block%.color} is "yellow":
set block at {_eventlocation} to yellow_shulker_box
set block at {_eventlocation} to yellow shulker box
if {plock.%loop-block%.color} is "lime":
set block at {_eventlocation} to lime_shulker_box
set block at {_eventlocation} to lime shulker box
if {plock.%loop-block%.color} is "pink":
set block at {_eventlocation} to pink_shulker_box
set block at {_eventlocation} to pink shulker box
if {plock.%loop-block%.color} is "gray":
set block at {_eventlocation} to gray_shulker_box
set block at {_eventlocation} to gray shulker box
if {plock.%loop-block%.color} is "light_gray":
set block at {_eventlocation} to light_gray_shulker_box
set block at {_eventlocation} to light gray shulker box
if {plock.%loop-block%.color} is "cyan":
set block at {_eventlocation} to cyan_shulker_box
set block at {_eventlocation} to cyan shulker box
if {plock.%loop-block%.color} is "purple":
set block at {_eventlocation} to purple_shulker_box
set block at {_eventlocation} to purple shulker box
if {plock.%loop-block%.color} is "blue":
set block at {_eventlocation} to blue_shulker_box
set block at {_eventlocation} to blue shulker box
if {plock.%loop-block%.color} is "brown":
set block at {_eventlocation} to brown_shulker_box
set block at {_eventlocation} to brown shulker box
if {plock.%loop-block%.color} is "green":
set block at {_eventlocation} to green_shulker_box
set block at {_eventlocation} to green shulker box
if {plock.%loop-block%.color} is "red":
set block at {_eventlocation} to red_shulker_box
set block at {_eventlocation} to red shulker box
if {plock.%loop-block%.color} is "black":
set block at {_eventlocation} to black_shulker_box
set block at {_eventlocation} to black shulker box
loop {loopitem.%loop-block%::*}:
add loop-value-2 to block at {_eventlocation}
clear {loopitem.%loop-block%::*}
......@@ -1484,11 +1484,11 @@ on explode:
clear {loopitem.%loop-block%::*}
on break:
if block above event-block is a chest or a trapped chest or a furnace or a dispenser or a dropper or a hopper or a brewing stand or any_shulker box:
if block above event-block is a chest or a trapped chest or a furnace or a dispenser or a dropper or a hopper or a brewing stand or any shulker box:
set {_lockcheck} to block above
if {plock.%{_lockcheck}%} is set:
if "%{plock.%{_lockcheck}%.owner}%" is player's name:
stop
if event-block is not a chest or a trapped chest or a furnace or a dispenser or a dropper or a hopper or a brewing stand or any_shulker box:
if event-block is not a chest or a trapped chest or a furnace or a dispenser or a dropper or a hopper or a brewing stand or any shulker box:
message "{@Prefix} &cBlock above is a protected %{_lockcheck}%"
cancel event
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment