FIxed variable names in Herbalism.java

This commit is contained in:
Grant 2012-02-01 03:50:39 -05:00
parent 0f41381c98
commit e3d04fd940

View File

@ -215,11 +215,11 @@ public class Herbalism
m.mcDropItem(loc, is); m.mcDropItem(loc, is);
m.mcDropItem(loc, is); m.mcDropItem(loc, is);
if(Math.random() * 10 > 5) if(Math.random() * 10 > 5)
m.mcDropItem(loc, item); m.mcDropItem(loc, is);
if(Math.random() * 10 > 5) if(Math.random() * 10 > 5)
m.mcDropItem(loc, item); m.mcDropItem(loc, is);
if(Math.random() * 10 > 5) if(Math.random() * 10 > 5)
m.mcDropItem(loc, item); m.mcDropItem(loc, is);
} }
} }
} }
@ -333,13 +333,13 @@ public class Herbalism
m.mcDropItem(loc, is); m.mcDropItem(loc, is);
m.mcDropItem(loc, is); m.mcDropItem(loc, is);
if(Math.random() * 10 > 5) if(Math.random() * 10 > 5)
m.mcDropItem(loc, item); m.mcDropItem(loc, is);
if(Math.random() * 10 > 5) if(Math.random() * 10 > 5)
m.mcDropItem(loc, item); m.mcDropItem(loc, is);
if(Math.random() * 10 > 5) if(Math.random() * 10 > 5)
m.mcDropItem(loc, item); m.mcDropItem(loc, is);
if(Math.random() * 10 > 5) if(Math.random() * 10 > 5)
m.mcDropItem(loc, item); m.mcDropItem(loc, is);
} }
} }
PP.addXP(SkillType.HERBALISM, LoadProperties.mmelon, player); PP.addXP(SkillType.HERBALISM, LoadProperties.mmelon, player);