Skip to content

Commit 21ffa05

Browse files
committed
Rebuild patches
1 parent f2a630f commit 21ffa05

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

versions/26.2-snapshot-4/patches/net/minecraft/util/Util.java.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/net/minecraft/util/Util.java
22
+++ b/net/minecraft/util/Util.java
3-
@@ -586,7 +_,7 @@
3+
@@ -610,7 +_,7 @@
44
public static <K extends Enum<K>, V> Map<K, V> makeEnumMap(final Class<K> keyType, final Function<K, V> function) {
55
EnumMap<K, V> map = new EnumMap<>(keyType);
66

versions/26.2-snapshot-4/patches/net/minecraft/world/entity/LivingEntity.java.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
--- a/net/minecraft/world/entity/LivingEntity.java
22
+++ b/net/minecraft/world/entity/LivingEntity.java
3-
@@ -1174,6 +_,7 @@
3+
@@ -1176,6 +_,7 @@
44
damage = 0.0F;
55
}
66

77
+ float originalDamage = damage;
88
ItemStack itemInUse = this.getUseItem();
99
float damageBlocked = this.applyItemBlocking(level, source, damage);
1010
damage -= damageBlocked;
11-
@@ -1266,14 +_,14 @@
11+
@@ -1268,14 +_,14 @@
1212
}
1313

1414
if (this instanceof ServerPlayer serverPlayer) {

0 commit comments

Comments
 (0)