549 B
549 B
untest2.js — main() (satır 59)
function main(c)
{
var player = c.getSubject();
if (player == null || !player.isPlayer())
{
return;
}
var blindness = mappet.getPotion("blindness");
if (blindness != null && player.hasPotion(blindness))
{
player.removePotion(blindness);
}
mappet.set("grey_world_" + player.getUniqueId(), false);
sendFog(player, false);
clearSky(player);
}