Woot

Woot

24M Downloads

[1.16.X] Heart display shows the wrong capacity for the tank

Ipsis opened this issue ยท 1 comments

commented

Capacity is shown as 65535 when the capacity is greater than 16-bits is size.
Capacity needs to be synched as it depends on attached tank and cannot be pulled directly from config.

commented

This is because I've not coded the IntReferenceHolder correctly.
The value is being read from one place and written to the other which works fine with the shorts, but not with the ints.

A shameful solution. I really need to revisit IntTracking.

b3cea48