grim3212 / grim-pack

This is the combined mods previously known as Grims Mods
https://grim3212.com/grim-pack/
Other
5 stars 8 forks source link

Slingshot Pellets Do No Damage to Target #123

Closed ScottoMotto closed 5 years ago

ScottoMotto commented 5 years ago
Minecraft Version: 1.12.2
GrimPack Version: 1.12.2-6.0.0.5
Forge Version: 2772

Slingshot Pellets do literally 0 damage to target. It has something to do with the conversion from double to float as the values come in from the config. Playing with the code in a dev environment if I hardcode values in EnumPelletType.java then it works as expected. Probably an easy fix but it is eluding me after ~1hour testing.

(this is scottosx btw if you remember. I did some initial work with these slingshots and ore fungus)

grim3212 commented 5 years ago

Interesting I'll take a look tonight. Nice to see you again.

grim3212 commented 5 years ago

Enums are pretty much constant without some modifications so it was being created before the config was read. c0c115f Closes this.