Added armor (merged from zeeZ).

This commit is contained in:
zeeZ 2011-05-22 16:09:50 +02:00 committed by FrozenCow
parent 3b16a36b99
commit 3fd511a8d1
9 changed files with 99 additions and 13 deletions

View file

@ -45,6 +45,7 @@ public class ClientUpdateComponent extends Component {
s(jp, "z", pl.getZ());
if (configuration.getBoolean("sendhealth", false)) {
s(jp, "health", p.getHealth());
s(jp, "armor", Armor.getArmorPoints(p));
}
a(u, "players", jp);
}