mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-20 18:07:43 +01:00
Allow Transparent Blocks In Enchanting Box (#1161)
Co-authored-by: granny <granny@purpurmc.org>
This commit is contained in:
@@ -5,10 +5,10 @@ Subject: [PATCH] One Punch Man!
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
|
||||
index c53dd6fe11b6218a8b2985c53ca132423e09d88d..c5f0c5ce4e20670fe2a61e4775e01094a0d36ed6 100644
|
||||
index 978eb615088ef84e418fe768b27f43276290ff46..8272135f82a8b42e39f208b4d5758ce7d56d501e 100644
|
||||
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
|
||||
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
|
||||
@@ -2225,6 +2225,20 @@ public abstract class LivingEntity extends Entity {
|
||||
@@ -2224,6 +2224,20 @@ public abstract class LivingEntity extends Entity {
|
||||
((ServerPlayer) damagesource.getEntity()).awardStat(Stats.DAMAGE_DEALT_ABSORBED, Math.round(f2 * 10.0F));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user