The-Cat-Town-Craft / Carpet-TCTC-Addition

A fabric-carpet extension mod. It offers some interesting features.
https://www.curseforge.com/minecraft/mc-mods/carpet-tctc-addition
GNU Lesser General Public License v3.0
30 stars 4 forks source link

[Bug] Main command still listed after config has been locked #10

Closed dododome01 closed 1 year ago

dododome01 commented 1 year ago

Minecraft Version

1.19.2

Carpet TCTC Addition Version

2.0.182+c98605f-beta

Description

If you lock the configfile, you can still autocomplete the command with tab, but it doesnt work.

To Reproduce

1.) Create a configfile 2.) Lock it 3.) Load the world and try to use the /carpet-tctc-addition command.

Expected behavior

Command shouldnt be listed.

Log

No response

Latest CI build tested

Hendrix-Shen commented 1 year ago

I don't understand what you mean. Keep the /carpet-tctc-addition command for previewing all rules or setting default rules.

dododome01 commented 1 year ago

If its intendet its fine. I thought it was a bug because every other carpet addon disables the list command if the config is locked!

Hendrix-Shen commented 1 year ago

If its intendet its fine. I thought it was a bug because every other carpet addon disables the list command if the config is locked!

This is deliberate design. This feature will only take effect if carpet addition is registered from MagicLib.