MercurialPony / Locks

The source code for Locks, a small, but unique Minecraft mod that introduces flexible and universal locks, a fun new lock picking mechanic and lots of other useful tools.
21 stars 27 forks source link

Compatibility issue - Supplementaries mod allows ALL locks to be bypassed by a stick #130

Open TheDaftWizard opened 2 years ago

TheDaftWizard commented 2 years ago

(Minecraft 1.16.5, tested on Forge 36.2.19 and 36.2.20) Noticed this after installing Locks into a modpack based on Crucial II. Managed to isolate it down to these two mods. Easily replicable:

  1. Install Locks
  2. Install Supplementaries (and Selene Lib)
  3. Place any Lock on any Chest
  4. Hold a Stick in hand and open the locked chest

This seems to only work if BOTH [tweaks.placeablesticks] sticks = true (in supplementaries-common.toml) AND [initialization.blocks] stick = true (in supplementaries-registry.toml)_ Setting either of these to false disables this issue entirely.

I have not tested what combination of settings will change this issue when it comes to client config vs. server config. EDIT: this issue also arises with the use of Blaze Rods and Books, leading me to believe it has something to do with how Supplementaries handles attempts to place Sticks, Blaze Rods and Books.

I'm posting this in the Supplementaries page as well https://github.com/MehVahdJukaar/Supplementaries