Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
Fix MC-121048
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaKR93 committed Oct 28, 2022
1 parent 3ed7be4 commit c43326c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions patches/server/0028-fixup-Paper-PRs.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: AlphaKR93 <[email protected]>
Date: Fri, 28 Oct 2022 16:55:12 +0900
Subject: [PATCH] fixup! Paper PRs


diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
index f4c06c9cc4530d56e74e43d69457e76dc3f429fc..10e2be46ba730e69ec4a3fd52f15c6b784943857 100644
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
@@ -2276,8 +2276,9 @@ public abstract class LivingEntity extends Entity {
// CraftBukkit end
float f3 = this.getHealth();

- this.setHealth(f3 - f);
+ //this.setHealth(f3 - f); // Prismarine - move down
this.getCombatTracker().recordDamage(damagesource, f3, f);
+ this.setHealth(f3 - f); // Prismarine - move down
// CraftBukkit start
if (!human) {
this.setAbsorptionAmount(this.getAbsorptionAmount() - f);

0 comments on commit c43326c

Please sign in to comment.