PlanetTeamSpeakk / MoreCommands

The source code of my mod, MoreCommands
https://www.curseforge.com/minecraft/mc-mods/morecommands
Creative Commons Zero v1.0 Universal
14 stars 5 forks source link

JEI's Cheat Mode #10

Closed xermaa closed 3 years ago

xermaa commented 4 years ago

2020-03-15_15 01 25

After I downloaded MoreCommands, when I try to toggle JEI's cheat mode, they always give me a message saying "You do not have permission to use JEI's Cheat Mode." I can only use it when i'm in creative mode. Even when I have /give perms, they still give the same message. Any ways to fix this?

AcesGamingUK commented 4 years ago

i too have this issue, Report On JEI github

So i recently added the mod More Commands and now JEI cheatmode isn't working I ctrl-LClick the "wrench" and I instantly get a stack of NetherStars and the you do not have permission to use.... Yes I have OP perms, Yes I can use the standalone /give

no it still wont work

Vid

PlanetTeamSpeakk commented 3 years ago

Will be looking into this soon, expect a new release of the mod for 1.12 (not 1.11, that's just too old by now) within a month.

PlanetTeamSpeakk commented 3 years ago

I have found out what causes the issue, thanks to you also reporting it to JEI and the owner of JEI responding with the code snippet that checks whether the command was successful. It is because MoreCommands automatically makes commands be run on a separate thread as to not make the entire game freeze up when running commands that take a long time to process (e.g. /locate or /btp), but to prevent the command from running twice, the original event fired is cancelled which is how JEI determines if the command running was successful or not.

So what I'll do to fix it is just not run the /give command on a separate thread, this fix should work fine as long as JEI only checks permission for the give command which I presume it will.

Will be fixed in new version.

Natedogwoooof commented 10 months ago

not fixed

gwynhefar commented 7 months ago

I'm still having this issue too. Will we get a fix at some point? I really want to use this mod but I can't give up JEI