• Foz's avatar
    Resolve itemframe entity duplication Fixes #405. · 39984c35
    Foz authored
    The ABM that replaces deleted entities in itemframes and pedestals can sometimes add multiple copies of each entity due to a race condition in which the ABM runs either before the server loads the entities or after they have been removed due to the map block being unloaded.  Due to limitations in determining when all entities have been loaded, this race condition cannot be fully avoided.  This commit converts the ABM, which ran every fifteen seconds, into and LBM that runs on every load and adds a check to the entities when they are loaded such that only the first loaded entity will be kept and any additional copies delete themselves during the loading process.
    39984c35
Name
Last commit
Last update
..
textures Loading commit data...
depends.txt Loading commit data...
init.lua Loading commit data...