diff options
author | isaiah658 <isaiah658@outlook.com> | 2018-06-04 07:03:07 -0500 |
---|---|---|
committer | LNJ <git@lnj.li> | 2018-06-04 14:03:07 +0200 |
commit | 8cfd1185e312e749a5ee0e56fd571646f5c8c96a (patch) | |
tree | fc7aaced1c53d8d01691531e1c03f49422f4acbe | |
parent | 336027fbd76557cde7fc8165200541598eb2b611 (diff) |
Fix issue where storage drawer saves item name for items with max stack of 1 (#17)
Fix issue where storage drawer saves item name for items with max stack of 1 causing you to not be able to put in other items until breaking the drawer or reloading the game.
-rwxr-xr-x | lua/visual.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/visual.lua b/lua/visual.lua index ca7db07..99de5b0 100755 --- a/lua/visual.lua +++ b/lua/visual.lua @@ -245,6 +245,7 @@ core.register_entity("drawers:visual", { -- Don't add items stackable only to 1 if self.itemStackMax == 1 then + self.itemName = "" return itemstack end |