DasHomi/preventer

Prevent signs placed on chests from being modified

Closed this issue · 2 comments

7coil commented

Is your feature request related to a problem? Please describe.
As a user
When I accidentally right click a sign that is attached to a chest
Then I should be prevented from editing the sign

Alternatively, there could also be a module for preventing sign editing in general, with the chest thing as a module config

Describe the solution you'd like

# N.B. logic slightly more advanced than pseudocode
if (block InstanceOf WallSign) and (blockBehind InstanceOf Chest):
  log("prevented sign editing")
  return FAIL

Sounds like a good idea, i think i'll do it as a "prevent sign editing" module with a config option that changes it to "prevent chest sign editing".