[SPIGOT-946] Begin making use of access transforms to simplify patching.
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -1,15 +1,8 @@
|
||||
--- a/net/minecraft/server/FoodMetaData.java
|
||||
+++ b/net/minecraft/server/FoodMetaData.java
|
||||
@@ -2,13 +2,21 @@
|
||||
|
||||
public class FoodMetaData {
|
||||
|
||||
- private int foodLevel = 20;
|
||||
- private float saturationLevel = 5.0F;
|
||||
- private float exhaustionLevel;
|
||||
+ public int foodLevel = 20; // CraftBukkit - public
|
||||
+ public float saturationLevel = 5.0F; // CraftBukkit - public
|
||||
+ public float exhaustionLevel; // CraftBukkit - public
|
||||
@@ -6,9 +6,17 @@
|
||||
public float saturationLevel = 5.0F;
|
||||
public float exhaustionLevel;
|
||||
private int foodTickTimer;
|
||||
+ private EntityHuman entityhuman; // CraftBukkit
|
||||
private int e = 20;
|
||||
|
||||
Reference in New Issue
Block a user