Files

355 B
Raw Permalink Blame History

Darklord.js — removePotionSafe() (satır 3020)

← Darklord.js · ← Master

function removePotionSafe(player, id)
{
    try
    {
        var potion = mappet.getPotion(id);
        if (potion != null && player.hasPotion(potion)) player.removePotion(potion);
    }
    catch (e) {}
}