1
0
Fork 0

Improve mcl_burning player performance

production
Elias Fleckenstein 2021-04-16 19:50:56 +02:00 committed by kay27
parent 28c12df6cd
commit 64a15d1eea
1 changed files with 4 additions and 2 deletions

View File

@ -23,8 +23,10 @@ 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)