Fix incorrect method reference in TntBlock.explode() (#10326)

This commit is contained in:
Jonathing authored and GitHub committed 2025-01-25 17:48:54 +00:00
1 parent 554ead8d4a
commit bc62d1693a
1 file changed
+2 -2
@@ -31,12 +31,12 @@
p_368198_.addFreshEntity(primedtnt);
}
+ @Deprecated //Forge: Prefer using IForgeBlock#catchFire
+ @Deprecated //Forge: Prefer using IForgeBlock#onCaughtFire
public static void explode(Level p_57434_, BlockPos p_57435_) {
explode(p_57434_, p_57435_, null);
}
+ @Deprecated //Forge: Prefer using IForgeBlock#catchFire
+ @Deprecated //Forge: Prefer using IForgeBlock#onCaughtFire
private static void explode(Level p_57437_, BlockPos p_57438_, @Nullable LivingEntity p_57439_) {
if (!p_57437_.isClientSide) {
PrimedTnt primedtnt = new PrimedTnt(