From eeaaea9223c4a747b82eaa9d7dd9d866d9b56db7 Mon Sep 17 00:00:00 2001
From: CraftBukkit/Spigot <noreply+git-craftbukkit@papermc.io>
Date: Mon, 17 Jan 2011 16:45:20 -0500
Subject: [PATCH] fixed health

By: Tahg <tahgtahv@gmail.com>
---
 .../org/bukkit/craftbukkit/entity/CraftLivingEntity.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
index ed43dba0e5..8ed7efd839 100644
--- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
+++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
@@ -24,15 +24,15 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
     }
 
     public int getHealth() {
-        return entity.ba;
+        return entity.aZ;
     }
 
     public void setHealth(int health) {
-        if ((health < 0) || (health > 20)) {
-            throw new IllegalArgumentException("Health must be between 0 and 20");
+        if ((health < 0) || (health > 200)) {
+            throw new IllegalArgumentException("Health must be between 0 and 200");
         }
 
-        entity.ba = health;
+        entity.aZ = health;
     }
 
     @Override