1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-26 07:03:22 +00:00
CC-Tweaked/src/main/java/dan200/computercraft
Jonathan Coates 7436447a6e
Several command permission fixes
- Attach permission checks to the first argument (so the literal
   command name) rather than the last argument. This fixes commands
   showing up when they shouldn't.

 - HelpingArgumentBuilder now inherits permissions of its leaf nodes.
   This only really impacts the "track" subcommand.

 - Don't autocomplete the computer selector for the "queue" subcommand.
   As everyone has permission for this command, it's possible to find
   all computer ids and labels in the world.

   I'm in mixed minds about this, but don't think this is an exploit -
   computer ids/labels are sent to in-range players so shouldn't be
   considered secret - but worth patching none-the-less.
2023-07-06 23:41:23 +01:00
..
api Some improvements to Javadoc publishing 2022-10-25 19:17:55 +01:00
client Fall back to the default item when rendering non-turtles 2023-02-09 12:45:20 +00:00
core Tighten up the $private HTTP rule 2023-07-06 23:27:17 +01:00
data Fix computer upgrade recipes 2022-12-26 09:32:02 +00:00
impl Expose getters for the detail registry too (#1188) 2022-10-22 00:42:07 +01:00
mixin Happy new year 2022-01-01 00:09:34 +00:00
shared Several command permission fixes 2023-07-06 23:41:23 +01:00
ComputerCraft.java Make PartialOptions immutable 2022-10-31 09:13:40 +00:00
ComputerCraftAPIImpl.java Expose getters for the detail registry too (#1188) 2022-10-22 00:42:07 +01:00