thaumcraft-api icon indicating copy to clipboard operation
thaumcraft-api copied to clipboard

[1.10.2] MathHelper.getInt MathHelper.ceil and player.world locations changed in 1.10.2

Open legoboy0109 opened this issue 6 years ago • 0 comments

In Forge version 12.18.3.2511 for Minecraft 1.10.2, I had an issue with some of the code refrencing the wrong thing, such as player.world being called, when player.worldObj is what should be called. Another is MathHelper.getInt should be replaced by MathHelper.getRandomIntegerInRange I was also having a problem with the MathHelper.ceil method which I changed to Math.ceil. Don't know if this is necessarily an issue, but I would recommend having a 1.10.2 branch to keep things simpler for those like me who prefer 1.10.2 to 1.12 because of mod availability. I am currently working on a Thaumcraft add-on so I wanted to check and see if this is an issue or not.

legoboy0109 avatar Mar 06 '18 03:03 legoboy0109