mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +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;
|
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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user