- Fixed totalMana in ManaPool.

This commit is contained in:
Sloth
2013-05-23 09:48:43 +00:00
parent 307c326c72
commit 0be7e292ad

View File

@@ -293,7 +293,11 @@ public class ManaPool {
* @return a int.
*/
public final int totalMana() {
return this.floatingMana.size();
int total = 0;
for (byte i : MagicColor.WUBRG) {
total += this.getAmountOfColor(i);
}
return total;
}
/**