Posted 06 August 2013 - 01:02 PM
Working on a new mod, while testing I had my turtle upgrade class returning 32767 for getUpgradeID(), and the turtle was not craftable.
Changed it to 32766, and now it works fine.
When returning 32767, registerTurtleUpgrade didn't throw an exception (which the documentation says it would, if it's in use or reserved), or show any error message in the logs, but it isn't craftable in-game, either.
Pretty minor thing, but figured I'd report it anyway. I figured out that was the problem pretty quickly, but others might not be so lucky and do much head-scratching over why it isn't working!
Changed it to 32766, and now it works fine.
When returning 32767, registerTurtleUpgrade didn't throw an exception (which the documentation says it would, if it's in use or reserved), or show any error message in the logs, but it isn't craftable in-game, either.
Pretty minor thing, but figured I'd report it anyway. I figured out that was the problem pretty quickly, but others might not be so lucky and do much head-scratching over why it isn't working!