CivClassic / SimpleAdminHacks

Tools and backend for Citadel servers, including advanced inventory monitoring, active new player assistance, and other logging. Built for Paper 1.16.5
BSD 3-Clause "New" or "Revised" License
0 stars 19 forks source link

Piston chunk limits don't work #71

Closed wingzero54 closed 3 years ago

wingzero54 commented 3 years ago

Originally I thought it was because the chunk limit config wasn't using the right block names, but it still doesn't appear to work. Other limits (like hoppers) are working normally

wingzero54 commented 3 years ago

Apparently it's because pistons weird. The piston limit was only applying to piston entities, which are only created when the piston actually moves. However, any block a piston is moving is also counted as a piston entity. So the piston chunk limits did not actually limit how many pistons could be placed in a chunk, it limited how many pistons can move at one time. This had the side effect of totally breaking flying / piston machines.