Slight adjustment to wearchange commit

This commit is contained in:
Akkadius 2016-03-28 21:53:46 -05:00
parent a82f5f8bf6
commit 5cbf4aca4f

View File

@ -3317,7 +3317,7 @@ XS(XS__wearchange);
XS(XS__wearchange) XS(XS__wearchange)
{ {
dXSARGS; dXSARGS;
if (items < 4) if (items < 2)
Perl_croak(aTHX_ "Usage: wearchange(slot, texture, [hero_forge_model], [elite_material])"); Perl_croak(aTHX_ "Usage: wearchange(slot, texture, [hero_forge_model], [elite_material])");
uint8 slot = (int)SvUV(ST(0)); uint8 slot = (int)SvUV(ST(0));