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.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/BlockCake.patch b/nms-patches/BlockCake.patch
index dd717e39..a3891429 100644
--- a/nms-patches/BlockCake.patch
+++ b/nms-patches/BlockCake.patch
@@ -2,7 +2,7 @@
+++ b/net/minecraft/server/BlockCake.java
@@ -34,7 +34,18 @@
private void b(World world, BlockPosition blockposition, IBlockData iblockdata, EntityHuman entityhuman) {
- if (entityhuman.l(false)) {
+ if (entityhuman.m(false)) {
entityhuman.b(StatisticList.J);
- entityhuman.getFoodData().eat(2, 0.1F);
+ // CraftBukkit start