Skip to content

Commit

Permalink
Keep vanilla method
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Oct 31, 2024
1 parent f4d009d commit 5430860
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions patches/net/minecraft/world/level/ServerExplosion.java.patch
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
--- a/net/minecraft/world/level/ServerExplosion.java
+++ b/net/minecraft/world/level/ServerExplosion.java
@@ -165,7 +_,7 @@
@@ -165,7 +_,12 @@
return new ObjectArrayList<>(set);
}

- private void hurtEntities() {
+ @Deprecated
private void hurtEntities() {
+ this.hurtEntities(List.of());
+ }
+
+ private void hurtEntities(List<BlockPos> blocks) {
float f = this.radius * 2.0F;
int i = Mth.floor(this.center.x - (double)f - 1.0);
Expand Down

0 comments on commit 5430860

Please sign in to comment.