This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |