Make the mixin classes abstract

This commit is contained in:
Username404-59 2021-04-28 21:34:17 +02:00
parent d72ea9ba19
commit 1b656ee8b1
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(Minecraft.class)
public class EndTickMixin implements EventSnowy {
abstract class EndTickMixin implements EventSnowy {
@NotNull
@Override
public String getType() {

View File

@ -20,7 +20,7 @@ import java.util.Map;
import java.util.Optional;
@Mixin(Options.class)
class KeyMappings {
abstract class KeyMappings {
private static final Collection<KeyMapping> keysToAdd = AddKeyMaps.INSTANCE.getList().keySet();
@Mutable @Shadow @Final public KeyMapping[] keyMappings;