quick fix : Integer multiplication or shift implicitly cast to long

This commit is contained in:
Alexdoru committed 2023-01-25 21:56:18 +01:00
1 parent 44d9b01f8f
commit 441e1f521d
1 file changed
+1 -1
@@ -289,7 +289,7 @@ public class ArmorProxyClient extends ArmorProxyCommon {
int healthRows = MathHelper.ceiling_float_int((healthMax + absorb) / 2.0F / 10.0F);
int rowHeight = Math.max(10 - (healthRows - 2), 3);
this.rand.setSeed((long) (updateCounter * 312871));
this.rand.setSeed(updateCounter * 312871L);
int left = scaledWidth / 2 - 91;
int top = scaledHeight - GuiIngameForge.left_height;