BlockHorizons / BlockSniper

An advanced (brush) world editing plugin for PocketMine-MP
https://poggit.pmmp.io/p/BlockSniper/
Apache License 2.0
76 stars 41 forks source link

Implemented /deselect command #125

Closed matcracker closed 5 years ago

matcracker commented 5 years ago

This command allows to clear the selection in use.

Sandertv commented 5 years ago

Is there any particular use case for this?

matcracker commented 5 years ago

Well, currently I'm hooking BS to BedcoreProtect to rollback some selected areas. It could happens to forgot to select a new one area and the player continues to rollback the old one but implementing Selection::clear() and, why not, in some cases a useful command that resolves the problem.

matcracker commented 5 years ago

Obviously I think it is useful also in other cases. I often forget that I had previously selected an area but with the command I would be on the safe side.

Sandertv commented 5 years ago

Fair enough! The 3.x line is on a feature freeze though, so I'd prefer if this could go to the 4.0.0 branch. Would you mind doing that?

matcracker commented 5 years ago

Sure, I'll do that.