mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-08 16:12:18 -07:00
[SPIGOT-946] Begin making use of access transforms to simplify patching.
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