Zarius / Bukkit-OtherBlocks

OtherBlocks (now known as OtherDrops) plugin for Bukkit (dev build: https://www.mediafire.com/?i6ows1g6kus2o0l)
http://dev.bukkit.org/server-mods/otherdrops/
GNU General Public License v3.0
17 stars 17 forks source link

OtherDrops Errors in Console #265

Closed stvncao5 closed 8 years ago

stvncao5 commented 11 years ago

I've seen this error appear a few times in the console, and I believe it has to do with the plugin being unable to receive the data on what colour the sheep was.

http://pastebin.com/bVUwvgpk

I've also seen this error in console, but only once. I have not seen it again since.

http://pastebin.com/iNikiFT4

I can't tell you much as to the nature of the issue or any other background information, so sorry. I can tell you that I'm using 1.5.2-R0.1 and version 2.8b.542 of OtherDrops. I haven't updated either because I'm waiting on some other plugin to update.

Zarius commented 11 years ago

Added a check for the second error (in e441cefe8e1dea6811c71f9aea993db178e533b7) - shouldn't happen again in newer builds.

The other issue appears to be that it's trying to process the whole remainder of the string as color data. Do you still have the particular sheep config that triggers that error?

stvncao5 commented 11 years ago

Yup, right here:

    SHEEP@UNSHEARED!BABY:
      - tool: ANY_DAMAGE
        drop: [WOOL@THIS/1/60%, XP/1]
    SHEEP@SHEARED!BABY:
      - tool: ANY_DAMAGE
        drop: XP/1
    SHEEP@UNSHEARED:
      - tool: ANY_DAMAGE
        drop: [WOOL@THIS/3-5/100%, XP/2]
    SHEEP@SHEARED:
      - tool: ANY_DAMAGE
        drop: {WOOL@THIS/2/10%, WOOL@THIS/1/30%}
      - tool: ANY_DAMAGE
        drop: XP/2