FTBTeam / FTB-Modpack-Issues

Any and all FTB Modpack issues are here! Please create a new issue, add to an existing one or maybe even suggest a feature in the discussions
https://feed-the-beast.com/modpack
40 stars 12 forks source link

[Bug]: Removing Discord Rich Presence breaks client #1540

Closed phit closed 1 year ago

phit commented 1 year ago

Modpack

Stoneblock 3

Modpack version

1.0.0

Log Files

snippet

[01Nov2022 21:19:41.118] [Render thread/ERROR] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: Exception caught during firing event: ReferenceError: "SDRP" is not defined. (startup_scripts:sdrp.js#17)
    Index: 23
    Listeners:
        0: HIGHEST
        1: ASM: class dan200.computercraft.shared.util.DropConsumer onEntitySpawn(Lnet/minecraftforge/event/entity/EntityJoinWorldEvent;)V
        2: ASM: mekanism.common.CommonWorldTickHandler@70

Describe the bug

your player is unable to move and you are invisible

Steps to reproduce

Expected behaviour

script should fail gracefully, and not break your client

Screenshots

player stuck and invisible image

Additional information

No response

Sunekaer commented 1 year ago

Yes, because there is a script there interacts, it is not possible to fail gracefully, as it attaches to a forge event. fyi We dont support modification of our packs :)

phit commented 1 year ago

that's unfortunate, is there no way to check if the class is defined in KubeJS? for myself I can just delete the file, but I suspect I'm not the only person that always removes that mod

phit commented 1 year ago

thank you for fixing it anyway!