diff options
author | md_5 <git@md-5.net> | 2018-08-26 12:00:00 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-08-26 12:00:00 +1000 |
commit | ce1af0c348a8477f9ec58d79e6267e9226dc5dba (patch) | |
tree | 369972a692f450001c06a13e202d916f9c1bb5a8 /nms-patches/BlockTNT.patch | |
parent | 162bda93ff76fe96a6138a14176807f21a6ddef4 (diff) | |
download | craftbukkit-ce1af0c348a8477f9ec58d79e6267e9226dc5dba.tar craftbukkit-ce1af0c348a8477f9ec58d79e6267e9226dc5dba.tar.gz craftbukkit-ce1af0c348a8477f9ec58d79e6267e9226dc5dba.tar.lz craftbukkit-ce1af0c348a8477f9ec58d79e6267e9226dc5dba.tar.xz craftbukkit-ce1af0c348a8477f9ec58d79e6267e9226dc5dba.zip |
Update to Minecraft 1.13.1
Diffstat (limited to 'nms-patches/BlockTNT.patch')
-rw-r--r-- | nms-patches/BlockTNT.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nms-patches/BlockTNT.patch b/nms-patches/BlockTNT.patch index 1af71a5f..0e087adb 100644 --- a/nms-patches/BlockTNT.patch +++ b/nms-patches/BlockTNT.patch @@ -1,7 +1,7 @@ --- a/net/minecraft/server/BlockTNT.java +++ b/net/minecraft/server/BlockTNT.java -@@ -72,6 +72,11 @@ - EntityArrow entityarrow = (EntityArrow) entity; +@@ -90,6 +90,11 @@ + Entity entity1 = entityarrow.getShooter(); if (entityarrow.isBurning()) { + // CraftBukkit start @@ -9,6 +9,6 @@ + return; + } + // CraftBukkit end - this.a(world, blockposition, entityarrow.shooter instanceof EntityLiving ? (EntityLiving) entityarrow.shooter : null); + this.a(world, blockposition, entity1 instanceof EntityLiving ? (EntityLiving) entity1 : null); world.setAir(blockposition); } |