1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-27 17:30:17 +02:00

Activate faucets for locked cabinets too.

This commit is contained in:
Diego Martínez
2017-01-07 04:48:16 -03:00
parent a14722eb98
commit 1ea19fd12f
2 changed files with 4 additions and 2 deletions

View File

@ -119,7 +119,8 @@ local function taps_on_rightclick(pos, node, clicker, itemstack, pointed_thing)
if below and
below.name == "homedecor:shower_tray" or
below.name == "homedecor:sink" or
below.name == "homedecor:kitchen_cabinet_with_sink" then
below.name == "homedecor:kitchen_cabinet_with_sink" or
below.name == "homedecor:kitchen_cabinet_with_sink_locked" then
local particledef = {
outlet = { x = 0, y = -0.44, z = 0.28 },
velocity_x = { min = -0.1, max = 0.1 },