mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-25 08:26:54 +00:00
03a8f83191
- Move the command permisssion checks to a new ComputerFamily.checkUsable method (from CommandComputerBlockEntity and ViewComputerMenu). I don't feel great about putting new functionality in ComputerFamily (trying to move away from it), but I think this is fine for now. - Use this method from within the computer menu and computer block, to check whether computers can be interacted with. - Remove ViewComputerMenu, as it now no longer needs any special is-usable logic. |
||
---|---|---|
.. | ||
src | ||
build.gradle.kts |