Solved Multiple Versions Sound and Jar Files

Discussion in 'Plugin Development' started by Chr0mosom3, Aug 30, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    Chr0mosom3

    Hello there,

    I am trying to make my plugin be compatible with 2 versions, the only problem is the sounds. I am using eclipse and I am trying to make a 1.8 plugin be compatible with the 1.9 sound naming scheme. In eclipse I tried adding both jar files to the build path but always at least one of the two sounds are showing as error, anybody knows how to have 2 different version's jar files?


    Screen Shot 2019-08-30 at 12.30.04.png


    Screen Shot 2019-08-30 at 12.31.55.png
     
  2. Offline

    timtower Administrator Administrator Moderator

    @MrDaniel Enum#fromName or something along those lines.
    Then you save them as strings.
     
  3. Offline

    Chr0mosom3

  4. Offline

    timtower Administrator Administrator Moderator

    That one.
    But abstraction might be better.
     
Thread Status:
Not open for further replies.

Share This Page