0
0
Fork 0

Merge branch 'master' into mineclone5

This commit is contained in:
Lizzy Fleckenstein 2021-04-23 18:11:41 +02:00
commit 988a44148e
3 changed files with 4 additions and 6 deletions

View File

@ -23,10 +23,8 @@ minetest.register_entity("mcl_burning:fire", {
minetest.register_globalstep(function(dtime)
for _, player in pairs(minetest.get_connected_players()) do
if player:get_meta():get_float("mcl_burning:burn_time") > 0 then
mcl_burning.tick(player, dtime)
end
end
end)
minetest.register_on_respawnplayer(function(player)

View File

@ -61,7 +61,7 @@ function mcl_enchanting.update_groupcaps(itemstack)
if not hash or hash ~= groupcaps.hash then
local tool_capabilities = itemstack:get_tool_capabilities()
tool_capabilities.groupcaps = groupcaps.values
tool_capabilities.groupcaps = table.copy(groupcaps.values)
-- Increase the number of uses depending on the unbreaking level
-- of the tool.

View File

@ -7,8 +7,8 @@ Drop registered inventories on player death.
* function(player): must return inventory
* listname: string
* drop: bool
* true: the entire list will be dropped
* false: items with curse_of_vanishing enchantement will be broken.
* true: the list will be dropped
* false: the list will only be cleared
## mcl_death_drop.registered_dropped_lists
Table containing dropped list inventory, name and drop state.