Effective

Effective

5M Downloads

[BUG] Console spammed with "false"

Shazuli opened this issue ยท 9 comments

commented

With Effective and required library mods installed the log is spammed with "false".

...
false
false
false
false
false
false
false
false
false
false
false
[16:28:31] [Server thread/INFO]: Saving and pausing game...
[16:28:31] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
false
false
[16:28:31] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[16:28:31] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
false
false
false
false
false
false
false
false
false
false
false
false
...
commented

looks like someone left a debug statement in the release

Thought the same thing. I am looking into the code but didn't find it yet.

commented

I confirm this on version 1.4. It does not happen on version 1.3

commented

looks like someone left a debug statement in the release

commented

Maybe this is the culprit:

private static RenderLayer replaceRenderLayer(RenderLayer base) {
        System.out.println(isRgb);
        if (isRgb) {
            System.out.println("TEST");
            return Effective.RAINBOW_SHADER.getRenderLayer(base);
        }

        return base;
    }

As isRgb seems to be false, it is constantly printing false to the console output

commented

probably

commented

Just to be clear, the code is not there anymore, but the release may have been made before the code was removed.
Most likely 1.5 will fix this problem.

commented

haha I'm a fucking idiot yes

commented

will be fixed next release sorry about that

commented

Still a problem, and took me a very long time to figure out that this was the mod creating the false log (5+ hours). I would recommend updating the curseforge mod to fix the problem asap