diff options
author | md_5 <git@md-5.net> | 2018-12-13 11:00:00 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-12-13 11:00:00 +1100 |
commit | c64fe5080c996e8ea29b3e113043dd0aa962aaee (patch) | |
tree | bdd0883450532288f4d4e1f4687bad7aca234019 /nms-patches/BlockFire.patch | |
parent | a3c2ec03148f9f38d4d27d045b1afee2fc6ff173 (diff) | |
download | craftbukkit-c64fe5080c996e8ea29b3e113043dd0aa962aaee.tar craftbukkit-c64fe5080c996e8ea29b3e113043dd0aa962aaee.tar.gz craftbukkit-c64fe5080c996e8ea29b3e113043dd0aa962aaee.tar.lz craftbukkit-c64fe5080c996e8ea29b3e113043dd0aa962aaee.tar.xz craftbukkit-c64fe5080c996e8ea29b3e113043dd0aa962aaee.zip |
Mappings Update
Diffstat (limited to 'nms-patches/BlockFire.patch')
-rw-r--r-- | nms-patches/BlockFire.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/BlockFire.patch b/nms-patches/BlockFire.patch index d36f2df3..6279bab5 100644 --- a/nms-patches/BlockFire.patch +++ b/nms-patches/BlockFire.patch @@ -58,7 +58,7 @@ int j = Math.min(15, i + random.nextInt(3) / 2); @@ -103,14 +126,14 @@ - world.J().a(blockposition, this, this.a((IWorldReader) world) + random.nextInt(10)); + world.getBlockTickList().a(blockposition, this, this.a((IWorldReader) world) + random.nextInt(10)); if (!this.d(world, blockposition)) { if (!world.getType(blockposition.down()).q() || i > 3) { - world.setAir(blockposition); @@ -145,7 +145,7 @@ - world.setAir(blockposition); + fireExtinguished(world, blockposition); // CraftBukkit - fuel block broke } else { - world.J().a(blockposition, this, this.a((IWorldReader) world) + world.random.nextInt(10)); + world.getBlockTickList().a(blockposition, this, this.a((IWorldReader) world) + world.random.nextInt(10)); } @@ -387,4 +432,12 @@ blockfire.a(Blocks.BLACK_CARPET, 60, 20); |