3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-27 03:12:37 +01:00

Remove bad default copy method in AbstractMask

Dieser Commit ist enthalten in:
dordsor21 2021-01-28 14:23:00 +00:00
Ursprung 485781f711
Commit 287aa9dd8b
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1E53E88969FFCF0B

Datei anzeigen

@ -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;
}
}
}