Serilum / .issue-tracker

Tracks all issues for Serilum's Minecraft mods on CurseForge and Modrinth.
https://serilum.com/
155 stars 40 forks source link

Command blocks give error when trying to enchant! #396

Closed AustinBryant closed 3 years ago

AustinBryant commented 3 years ago

Information

Minecraft version: 1.16.3 Forge version: 1.16.3-34.1.0 Environment: Singleplayer / Multiplayer (Both)

Mod name: Enchanting Commands Mod version: 1.3

Description

The commands work fine when executed by a player. However command block and command computers(CC tweaked) can't execute /ec enchant or /ec list.

Crash report

Does not crash, just returns invalid command. It appears in the auto fill. I have not made a mod in a while but it appears that it might not be added to a register for command blocks or it is not being passed through command blocks properly.

AustinBryant commented 3 years ago

If you need help managing mods I would not mind some extra work. I am a CS Major and I work part time R&D languages.

ricksouth commented 3 years ago

Thanks for the report and the proposition, I'll keep it in mind! Do you have your debug log file? Does it show more information on the error?

AustinBryant commented 3 years ago

debug.log

AustinBryant commented 3 years ago

Screenshot (4) Screenshot (5)

The same command works when I run it from chat.

James103 commented 3 years ago

Maybe the permission level for the /ec command is set to 3 or 4, whereas command blocks only get permission level 2, meaning that the command is unusable in command blocks due to insufficient permission.

ricksouth commented 3 years ago

Version 1.5 makes the enchanting command compatible with command blocks. Thanks for opening the issue and using the mod!

https://www.curseforge.com/minecraft/mc-mods/enchanting-commands