Surface tiles resetting when player teleports
Posted: Sun Nov 13, 2022 12:26 am
I'm making a mod and trying to make a new surface, similar to Factorissimo factories, in that I want it to be a square made of concrete or some such material. Currently, before the player teleports, I am creating a surface of size 2x2, and then setting the tiles to be a 16x16 square of concrete tiles. The surface is created fine, but when I teleport the player, there seems to be one tick of the concrete being there and then the concrete disappears. I've tested setting the tiles when the player is in the surface with a custom input, and then it stays and works fine. Is the surface generation called when the player joins the surface for the first time or something? Any and all help is much appreciated.