diff options
| -rwxr-xr-x | lua/visual.lua | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lua/visual.lua b/lua/visual.lua index 8f99e5e..61b02a3 100755 --- a/lua/visual.lua +++ b/lua/visual.lua @@ -188,8 +188,8 @@ core.register_entity("drawers:visual", {  		-- set new counts:  		-- if new count is more than max_count  		if (self.count + stackCount) > self.maxCount then +			itemstack:set_count(self.count + stackCount - self.maxCount)  			self.count = self.maxCount -			itemstack:set_count((self.count + stackCount) - self.maxCount)  		else -- new count fits  			self.count = self.count + stackCount  			-- this is for only removing one | 
