mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-30 20:21:41 +01:00
remove burtned TNT blocks (Fixes #2808)
This commit is contained in:
parent
24f4c7016a
commit
1d4ac6014d
@ -5,7 +5,7 @@ Subject: [PATCH] Add TNTPrimeEvent
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/BlockFire.java b/src/main/java/net/minecraft/server/BlockFire.java
|
||||
index 0ece78d4dc..3400e7ce37 100644
|
||||
index 0ece78d4dc..1c30a02501 100644
|
||||
--- a/src/main/java/net/minecraft/server/BlockFire.java
|
||||
+++ b/src/main/java/net/minecraft/server/BlockFire.java
|
||||
@@ -0,0 +0,0 @@ package net.minecraft.server;
|
||||
@ -34,6 +34,7 @@ index 0ece78d4dc..3400e7ce37 100644
|
||||
+ if (!new TNTPrimeEvent(tntBlock, TNTPrimeEvent.PrimeReason.FIRE, null).callEvent()) {
|
||||
+ return;
|
||||
+ }
|
||||
+ world.setAir(blockposition, false);
|
||||
+ // Paper end
|
||||
BlockTNT.a(world, blockposition);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user