1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2024-12-28 03:30:38 +01:00

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

View File

@ -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)