Author Topic: getDamagePercent()  (Read 1023 times)

In an HP display mod I have, it uses "1 - ServerConnection.getControlOb ject().getDamagePercent();" to set the value of a health bar from 0 - 1. Since 1.03 arrived, this has stopped working, always returning "2" (1 - (-1)) - but the custom energy bar using "ServerConnection.getControlOb ject().getEnergyPercent();" continues to work fine. Why has this functionality of getting your own damage level been removed?

Does anyone know how I could solve this / why Badspot has disabled this? It would be very helpful, as I need it to make my alternate PlayGUI work. (Needed for RPG mod, also having the HP bar visible in other servers)