Make the mixin classes abstract
This commit is contained in:
parent
d72ea9ba19
commit
1b656ee8b1
|
@ -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() {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue