Hbm's Nuclear Tech Mod

Hbm's Nuclear Tech Mod

1M Downloads

Meteorite offset bug

abel1502 opened this issue ยท 0 comments

commented

Currently, meteorites can only be offset in the positive XZ direction by the protection charm.

This bit needs parentheses:

vec.xCoord = vec.xCoord * meteorRand.nextDouble() - 0.5D;
vec.zCoord = vec.zCoord * meteorRand.nextDouble() - 0.5D;

vec.xCoord = vec.xCoord * (meteorRand.nextDouble() - 0.5D); 
vec.zCoord = vec.zCoord * (meteorRand.nextDouble() - 0.5D);