355 B
355 B
Darklord.js — removePotionSafe() (satır 3020)
function removePotionSafe(player, id)
{
try
{
var potion = mappet.getPotion(id);
if (potion != null && player.hasPotion(potion)) player.removePotion(potion);
}
catch (e) {}
}