mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-02 11:26:42 +00:00
Fixed issues regarding block transformations and using the BaseBlock to apply a function.
This commit is contained in:
@ -542,6 +542,10 @@ public class EditSession extends AbstractDelegateExtent implements HasFaweQueue,
|
||||
return new NullExtent(extent, BBC.WORLDEDIT_CANCEL_REASON_MANUAL);
|
||||
}
|
||||
final Extent toReturn = event.getExtent();
|
||||
// if(toReturn instanceof com.sk89q.worldedit.extent.NullExtent) {
|
||||
// return new NullExtent(toReturn, null);
|
||||
// return new AbstractDelegateExtent(toReturn);
|
||||
// });
|
||||
if (!(toReturn instanceof AbstractDelegateExtent)) {
|
||||
Fawe.debug("Extent " + toReturn + " must be AbstractDelegateExtent");
|
||||
return extent;
|
||||
|
Reference in New Issue
Block a user