mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-24 14:16:45 +01:00
Ignition fix
This commit is contained in:
parent
9a7ea3b6d0
commit
b9560694be
@ -53,7 +53,10 @@ public class Archery
|
|||||||
ignition += (PPa.getSkillLevel(SkillType.ARCHERY)/200)*20;
|
ignition += (PPa.getSkillLevel(SkillType.ARCHERY)/200)*20;
|
||||||
|
|
||||||
if(ignition > 120)
|
if(ignition > 120)
|
||||||
ignition = 120;
|
ignition = 120;
|
||||||
|
|
||||||
|
if(x.getFireTicks() > ignition)
|
||||||
|
return;
|
||||||
|
|
||||||
if(x instanceof Player)
|
if(x instanceof Player)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user