Return error for invalid bags

This commit is contained in:
Mats391
2025-12-30 17:14:36 +01:00
parent f0b5473945
commit c5ad4e0ed9
+1 -1
View File
@@ -1017,7 +1017,7 @@ namespace Nampower {
return 1; return 1;
} }
// TODO Error for not finding the bag lua_error(luaState, "Invalid bag index. Valid values: 0, 1-4, -1, 5-9 (bank)");
return 0; return 0;
} }