mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Fix invalid placeholder entity attributes (MC-150405) (#5718)
This commit is contained in:
1 parent
a5d0a86760
commit
05f4f5ec77
1 file changed
+9
@@ -99,3 +99,12 @@
|
||||
packetbuffer.release();
|
||||
}
|
||||
}
|
||||
@@ -2087,7 +2099,7 @@
|
||||
|
||||
if (iattributeinstance == null)
|
||||
{
|
||||
- iattributeinstance = abstractattributemap.func_111150_b(new RangedAttribute((IAttribute)null, spacketentityproperties$snapshot.func_151409_a(), 0.0D, 2.2250738585072014E-308D, Double.MAX_VALUE));
|
||||
+ iattributeinstance = abstractattributemap.func_111150_b(new RangedAttribute((IAttribute)null, spacketentityproperties$snapshot.func_151409_a(), 0.0D, -Double.MAX_VALUE, Double.MAX_VALUE)); // Forge: fix invalid value range (MC-150405)
|
||||
}
|
||||
|
||||
iattributeinstance.func_111128_a(spacketentityproperties$snapshot.func_151410_b());
|
||||
Reference in new issue
Block a user