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.
This pull checks for mesecons_mvps mod and adds the item frame and
pedestal items to the list of non-movable items so that players cannot
exploit the double-item glitch.
mesecons_mvps added to depends.txt file for this to work.