Rename revision 2

This commit is contained in:
Dinnerbone
2011-09-15 17:36:27 +01:00
parent 3c5632de31
commit 2b5a61f03d
29 changed files with 126 additions and 126 deletions

View File

@@ -426,26 +426,26 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
}
public float getExhaustion() {
return getHandle().V().c;
return getHandle().getFoodData().exhaustionLevel;
}
public void setExhaustion(float value) {
getHandle().V().c = value;
getHandle().getFoodData().exhaustionLevel = value;
}
public float getSaturation() {
return getHandle().V().b;
return getHandle().getFoodData().saturationLevel;
}
public void setSaturation(float value) {
getHandle().V().b = value;
getHandle().getFoodData().saturationLevel = value;
}
public int getFoodLevel() {
return getHandle().V().a;
return getHandle().getFoodData().foodLevel;
}
public void setFoodLevel(int value) {
getHandle().V().a = value;
getHandle().getFoodData().foodLevel = value;
}
}