Closed Ampflower closed 3 years ago
Thinking about the naming the property some more; perhaps it would be better to be more broad, since there could be more than just pistons?
A name that could work would be preventPermanentWorldDestructionExploits
, or a bit more simply preventWorldDestructionExploits
. Which should it be?
Thank you so much for the contribution!
I think's it's alright to leave the name to be piston related. If a new destruction exploit is found (e.g. plant one), it can simply be added as another option. Imho grouping more patches under same option (as it is rn) has proven not to be the best option :P.
This allows server owners to disable pistons being able to break any blocks by adding a check to see if the would-be head is actually a piston head. Direction isn't tested, but could be added on if need be.