summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockCake.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/BlockCake.patch')
-rw-r--r--nms-patches/BlockCake.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/nms-patches/BlockCake.patch b/nms-patches/BlockCake.patch
index 55459181..b3c6df05 100644
--- a/nms-patches/BlockCake.patch
+++ b/nms-patches/BlockCake.patch
@@ -1,9 +1,9 @@
--- a/net/minecraft/server/BlockCake.java
+++ b/net/minecraft/server/BlockCake.java
-@@ -55,7 +55,18 @@
+@@ -33,7 +33,18 @@
private void b(World world, BlockPosition blockposition, IBlockData iblockdata, EntityHuman entityhuman) {
- if (entityhuman.j(false)) {
- entityhuman.b(StatisticList.H);
+ if (entityhuman.l(false)) {
+ entityhuman.b(StatisticList.J);
- entityhuman.getFoodData().eat(2, 0.1F);
+ // CraftBukkit start
+ // entityhuman.getFoodData().eat(2, 0.1F);