Remove bad default copy method in AbstractMask

This commit is contained in:
dordsor21 2021-01-28 14:23:00 +00:00
parent 485781f711
commit 287aa9dd8b
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -19,21 +19,7 @@
package com.sk89q.worldedit.function.mask; package com.sk89q.worldedit.function.mask;
import org.jetbrains.annotations.Nullable;
/** /**
* A base class of {@link Mask} that all masks should inherit from. * A base class of {@link Mask} that all masks should inherit from.
*/ */
public abstract class AbstractMask implements Mask { public abstract class AbstractMask implements Mask {}
@Override
@Nullable
public Mask copy() {
try {
return (Mask) super.clone();
} catch (CloneNotSupportedException e) {
return null;
}
}
}