From 2b43aa6301fc018fcda0162f1f444b7a57c263c1 Mon Sep 17 00:00:00 2001 From: LexManos Date: Wed, 29 Jan 2020 11:31:02 -0800 Subject: [PATCH] Fix WakeupEvent patch misalign. Closes #6474 --- .../net/minecraft/entity/player/PlayerEntity.java.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patches/minecraft/net/minecraft/entity/player/PlayerEntity.java.patch b/patches/minecraft/net/minecraft/entity/player/PlayerEntity.java.patch index 080c191503..1a6e87c6f9 100644 --- a/patches/minecraft/net/minecraft/entity/player/PlayerEntity.java.patch +++ b/patches/minecraft/net/minecraft/entity/player/PlayerEntity.java.patch @@ -312,14 +312,14 @@ return this.func_230126_g_(p_190774_1_) || this.func_230126_g_(p_190774_1_.func_177972_a(p_190774_2_.func_176734_d())); } -@@ -1289,6 +1357,7 @@ +@@ -1287,6 +1355,7 @@ + } + public void func_225652_a_(boolean p_225652_1_, boolean p_225652_2_) { ++ net.minecraftforge.event.ForgeEventFactory.onPlayerWakeup(this, p_225652_1_, p_225652_2_); super.func_213366_dy(); if (this.field_70170_p instanceof ServerWorld && p_225652_2_) { -+ net.minecraftforge.event.ForgeEventFactory.onPlayerWakeup(this, p_225652_1_, p_225652_2_); ((ServerWorld)this.field_70170_p).func_72854_c(); - } - @@ -1300,17 +1369,17 @@ }