mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Remove bad default copy method in AbstractMask
This commit is contained in:
parent
485781f711
commit
287aa9dd8b
@ -19,21 +19,7 @@
|
||||
|
||||
package com.sk89q.worldedit.function.mask;
|
||||
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* A base class of {@link Mask} that all masks should inherit from.
|
||||
*/
|
||||
public abstract class AbstractMask implements Mask {
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public Mask copy() {
|
||||
try {
|
||||
return (Mask) super.clone();
|
||||
} catch (CloneNotSupportedException e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
public abstract class AbstractMask implements Mask {}
|
||||
|
Loading…
Reference in New Issue
Block a user