mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Don't setextent twice in replace
This commit is contained in:
parent
971977a66a
commit
23ca345a2e
@ -325,9 +325,6 @@ public class RegionCommands {
|
|||||||
((AbstractExtentMask) from).setExtent(editSession);
|
((AbstractExtentMask) from).setExtent(editSession);
|
||||||
//FAWE end
|
//FAWE end
|
||||||
}
|
}
|
||||||
if (from instanceof AbstractExtentMask) {
|
|
||||||
((AbstractExtentMask) from).setExtent(editSession);
|
|
||||||
}
|
|
||||||
int affected = editSession.replaceBlocks(region, from, to);
|
int affected = editSession.replaceBlocks(region, from, to);
|
||||||
actor.print(Caption.of("worldedit.replace.replaced", TextComponent.of(affected)));
|
actor.print(Caption.of("worldedit.replace.replaced", TextComponent.of(affected)));
|
||||||
return affected;
|
return affected;
|
||||||
|
Loading…
Reference in New Issue
Block a user