Modern Industrialization

Modern Industrialization

4M Downloads

EU calculation is converted to long after breaking int barrier

Linguardium opened this issue ยท 0 comments

commented

https://github.com/AztechMC/Modern-Industrialization/blob/4e58e887cb31c23cec94f241811648b0024cd652/src/client/java/aztech/modern_industrialization/ModernIndustrializationClient.java#L149C48-L149C48

the multiplication of 2 int will be an int, it is then casted to long. ideally if you want to ensure it doesn't break the int barrier you would need to change EU_PER_BURN_TICK to long type instead of int type