forked from 2009Scape/Server
commit
bcc56e1d1f
1 changed files with 4 additions and 1 deletions
|
|
@ -506,7 +506,10 @@ public class ShootingStarPlugin extends OptionHandler {
|
|||
} else {
|
||||
star.incrementStardust();
|
||||
}
|
||||
player.getInventory().add(new Item(STAR_DUST, 1));
|
||||
|
||||
if (ShootingStarPlugin.getStarDust(player) < 200) {
|
||||
player.getInventory().add(new Item(STAR_DUST, 1));
|
||||
}
|
||||
player.getSkills().addExperience(Skills.MINING, star.getExp());
|
||||
if (star.getMinedStardust() >= star.getTotalStardust()) {
|
||||
Location loc = object.getLocation();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue