diff --git a/PlayerMethods.h b/PlayerMethods.h index c091aaa..12943cd 100644 --- a/PlayerMethods.h +++ b/PlayerMethods.h @@ -1567,7 +1567,7 @@ namespace LuaPlayer int DurabilityRepairAll(Eluna* /*E*/, lua_State* L, Player* player) { bool cost = Eluna::CHECKVAL(L, 2, true); - float discountMod = Eluna::CHECKVAL(L, 3); + float discountMod = Eluna::CHECKVAL(L, 3, 1.0f); bool guildBank = Eluna::CHECKVAL(L, 4, false); #ifdef CLASSIC