bugfix: the count was lost

This commit is contained in:
Alexander Weber 2017-04-10 00:20:04 +02:00 committed by stujones11
parent 4dbe76312b
commit 6359b0a0ed
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ armor.punch = function(self, player, hitter, time_from_last_punch, tool_capabili
end
end
self.def[name].state = state
self.def[name].count = items
self.def[name].count = count
end
armor.get_player_skin = function(self, name)