mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Changed Ignition to add fire ticks rather than replace them. (Thanks
bm01!)
This commit is contained in:
parent
353ceefd4e
commit
c032a27d63
@ -7,6 +7,9 @@ Key:
|
||||
! Change
|
||||
- Removal
|
||||
|
||||
Version 2.0.00-dev
|
||||
! Changed Ignition to add fire ticks rather than replacing them.
|
||||
|
||||
Version 1.3.01
|
||||
= Fixed bug where Tree Feller had no cooldown
|
||||
= Fixed bug with activating Skull Splitter after using Tree Feller
|
||||
|
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||
<artifactId>mcMMO</artifactId>
|
||||
<version>1.3.01</version>
|
||||
<version>2.0.00-dev</version>
|
||||
<name>mcMMO</name>
|
||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||
<issueManagement>
|
||||
|
@ -60,14 +60,14 @@ public class Archery
|
||||
Player defender = (Player)x;
|
||||
if(!Party.getInstance().inSameParty(attacker, defender))
|
||||
{
|
||||
defender.setFireTicks(ignition);
|
||||
defender.setFireTicks(defender.getFireTicks() + ignition);
|
||||
attacker.sendMessage(mcLocale.getString("Combat.Ignition")); //$NON-NLS-1$
|
||||
defender.sendMessage(mcLocale.getString("Combat.BurningArrowHit")); //$NON-NLS-1$
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
x.setFireTicks(ignition);
|
||||
x.setFireTicks(x.getFireTicks() + ignition);
|
||||
attacker.sendMessage(mcLocale.getString("Combat.Ignition")); //$NON-NLS-1$
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user