diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-10-24 12:12:19 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-10-24 12:12:19 -0400 |
| commit | 74c7a160da34897ebdf18aaff02b8c9b65809949 (patch) | |
| tree | db2a084d02f4acc3d7c99ec20e573101e448aef6 /gamemode/shared/inventory.lua | |
| parent | d7f44fc24da959658b597e64d842661aa41f6515 (diff) | |
| download | artery-74c7a160da34897ebdf18aaff02b8c9b65809949.tar.gz artery-74c7a160da34897ebdf18aaff02b8c9b65809949.tar.bz2 artery-74c7a160da34897ebdf18aaff02b8c9b65809949.zip | |
Various other updates and bugfixes
Diffstat (limited to 'gamemode/shared/inventory.lua')
| -rw-r--r-- | gamemode/shared/inventory.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gamemode/shared/inventory.lua b/gamemode/shared/inventory.lua index 382ebd5..f83bb77 100644 --- a/gamemode/shared/inventory.lua +++ b/gamemode/shared/inventory.lua @@ -97,7 +97,7 @@ end -- @return n The backpack number the item was found in. function pmeta:HasItem(nameorcomparitor) local comparitor - if type(param) == "String" then + if type(nameorcomparitor) == "string" then comparitor = function(t) return t.Name == nameorcomparitor end else comparitor = nameorcomparitor |
