cityrpg / CityRPG

A sandbox-simulation styled mod for the game Blockland that simulates the life of a blocky city. Live, build, and thrive in a city made of blocks.
4 stars 3 forks source link

Players do not spawn in spawn bricks while they are being built #8

Closed LakeYS closed 4 years ago

Dglider commented 4 years ago

I spotted this in the code yesterday. It's just 1 line that needs to be removed. The spawn list should not be cleared before starting the build process.

Also, why aren't we just hooking spawn brick placement and deletion, and maintaining the spawn list that way? onPlant, onLoadPlant, and onRemove are all valid hooks for these bricks. :?