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

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