mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27: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);
|
||||
//FAWE end
|
||||
}
|
||||
if (from instanceof AbstractExtentMask) {
|
||||
((AbstractExtentMask) from).setExtent(editSession);
|
||||
}
|
||||
int affected = editSession.replaceBlocks(region, from, to);
|
||||
actor.print(Caption.of("worldedit.replace.replaced", TextComponent.of(affected)));
|
||||
return affected;
|
||||
|
Loading…
Reference in New Issue
Block a user