BKCommonLib Conflict #24


Open
  • ShevyMate created this issue Oct 8, 2021

    I have noticed that it has a strange confliction with one of my other plugins. I have been using the https://www.spigotmc.org/resources/traincarts.39592/ plugin and it uses the BKCommonLib found here https://www.spigotmc.org/resources/bkcommonlib.39590/.

    When using Thirst with BKCommonLib, it causes a conflict where BKCommonLib starts throwing out errors constantly. I have spoken to that dev and has said that, there seems to be a problem in your code. 

    Here's what he has pointed out, and i want to state, i'm not a coder so i don't know exactly whats happening here.

     

    Loaded class net.minecraft from Thirst

    said something about bad namespace

    'and because this exists, bkcommonlib probably got all confused thinking net.minecraft is a class instead of a package
    [12:22 PM]
    hence all the other errors'
    '

    1. all this is caused because bkcl is being "too smart" trying to figure out what "some.namespace.class.ClassName.SubClass" refers to, its a java thing
       
    2. <time id="message-timestamp-896206767774658601" datetime="2021-10-09T01:25:44.154Z" aria-label="Today at 12:25 PM">[12:25 PM]</time>
      in this case it tests to see if net.minecraft.SomeClass exists, so it tries net.minecraft$SomeClass as well, and thats when things broke
       
    3. <time id="message-timestamp-896206909399519283" datetime="2021-10-09T01:26:17.920Z" aria-label="Today at 12:26 PM">[12:26 PM]</time>
      [11:38:37] [Server thread/ERROR]: [BKCommonLib] Failed to compile method body ([source error] no such field: ??net.minecraft$core.IRegistry??.W): hence this
       
    4. <time id="message-timestamp-896206991473655838" datetime="2021-10-09T01:26:37.488Z" aria-label="Today at 12:26 PM">[12:26 PM]</time>
      ??<name>?? means not found'

To post a comment, please login or register a new account.