-
Bug
-
Resolution: Incomplete
-
None
-
Minecraft 1.7.10
-
None
-
Windows
-
Unconfirmed
This bug only shows up when modding and vanilla is asked to handle an S20Packet containing an attribute name that doesn't yet exist on the client entity.
The client response is to create a default attribute but the parameters that vanilla uses are wrong because the default value is less than the minimum value, which gives a crash.
the line in question is shortly after the text
throw new IllegalStateException("Server tried to update attributes of a non-living entity (actually: " + entity + ")");
The line in question is
new RangedAttribute(snapshot.func_151409_a(), 0.0D,
Double.MIN_NORMAL, Double.MAX_VALUE));
but I think it should be
new RangedAttribute(snapshot.func_151409_a(), 0.0D,
-Double.MAX_VALUE, Double.MAX_VALUE));