Fixed a re-name that somehow missed the commit.

Serverside chanceToEncourageFire -> getFireSpreadSpeed
This commit is contained in:
LexManos 2011-12-24 00:35:41 +00:00
parent d541e492c4
commit 906cb8ee39
2 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,7 @@
+ * @param face The face that the fire is coming from
+ * @return A number that is used to determine the speed of fire growth around the block
+ */
+ public int chanceToEncourageFire(World world, int x, int y, int z, int metadata, int face)
+ public int getFireSpreadSpeed(World world, int x, int y, int z, int metadata, int face)
+ {
+ return blockFireSpreadSpeed[blockID];
+ }

View File

@ -177,7 +177,7 @@
+ Block block = Block.blocksList[world.getBlockId(i, j, k)];
+ if (block != null)
+ {
+ i1 = block.chanceToEncourageFire(world, i, j, k, world.getBlockMetadata(i, j, k), face);
+ i1 = block.getFireSpreadSpeed(world, i, j, k, world.getBlockMetadata(i, j, k), face);
+ }
if(i1 > l)
{