It looks like removing rubidium works but also I've noticed that these crashes only appear on worlds where I have spent some time on. I've created 2 new worlds, superflat and normal, both on creative, went to the end, killed the dragon and tried to enter the gateway, it didn't crashed but when I tried to enter the gateway on my old world it still crashes. Maybe the world is just corrupted because of terrestria. I will make a new survival world and see if after few hours the end will still crash. For now thank you for help.