mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-23 01:47:38 +00:00

We use getLevel() specifically for reading the current registries (and/or server). We don't need the exact position of the speaker to query this, so add a dedicated method for it. We actually had a similar method on 1.21.7 already for upgrades. This just moves it to SpeakerPeripheral. Fixes #2236.