Changes to fix some PlotSquared compatibility issues, plus fix block Mask parsing

This commit is contained in:
IronApollo
2019-02-27 08:09:04 -05:00
parent 24fbc86cdd
commit 3ffb5ff00d
6 changed files with 11 additions and 14 deletions

View File

@ -335,8 +335,7 @@ public class RegionCommands extends MethodCommands {
@Logging(REGION)
public void set(FawePlayer player, LocalSession session, EditSession editSession, @Selection Region selection, Pattern to, CommandContext context) throws WorldEditException {
player.checkConfirmationRegion(() -> {
int affected;
affected = editSession.setBlocks(selection, to);
int affected = editSession.setBlocks(selection, to);
if (affected != 0) {
BBC.OPERATION.send(player, affected);
if (!player.hasPermission("fawe.tips"))