mirror of
https://github.com/brues-code/nampower.git
synced 2026-10-23 21:00:49 +00:00
Return error for invalid bags
This commit is contained in:
@@ -1016,8 +1016,8 @@ 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user