forked from 2009Scape/Server
Clear + disable prayers (more cleanup)
This commit is contained in:
parent
aa1e6f9ea0
commit
0e2f51f851
1 changed files with 3 additions and 0 deletions
|
|
@ -131,6 +131,9 @@ public final class Prayer {
|
|||
}
|
||||
|
||||
getPlayer().getSkills().decrementPrayerPoints(amountDrain);
|
||||
if(getPlayer().getSkills().getPrayerPoints() == 0){
|
||||
reset();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue