Xon
Guest
Member
PHP:
There is no
XFRM\Service\ResourceItem\Icon::setImageFromExisting does not fail as expected if the icon is missing
free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
Code:
public function setImageFromExisting(): bool
{
$path = $this->resource->getAbstractedIconPath();
if (!$this->app->fs()->has($path))
{
new \InvalidArgumentException(
"Resource does not have an icon ({$path})"
);
}
throw
on that new \InvalidArgumentException
lineXFRM\Service\ResourceItem\Icon::setImageFromExisting does not fail as expected if the icon is missing
free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons