mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-10 10:20:41 -07:00
Removed inauthentic vial smash after completing bar crawl miniquest (this is an osrs-only feature)
This commit is contained in:
parent
6c9458cdac
commit
73cbc9f11e
1 changed files with 4 additions and 6 deletions
|
|
@ -22,13 +22,11 @@ public class Potion extends Drink {
|
|||
final int nextItemId = getNextItemId(item.getId());
|
||||
if (nextItemId != -1) {
|
||||
player.getInventory().replace(new Item(nextItemId), item.getSlot());
|
||||
} else {
|
||||
if (BarcrawlManager.getInstance(player).isFinished()) {
|
||||
player.getInventory().remove(item);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
player.getInventory().replace(new Item(VIAL), item.getSlot());
|
||||
}
|
||||
}
|
||||
|
||||
final int initialLifePoints = player.getSkills().getLifepoints();
|
||||
Consumables.getConsumableById(item.getId()).effect.activate(player);
|
||||
if (messages.length == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue