Remove unnecessary abstract mixin class modifiers

This commit is contained in:
Brady 2018-09-04 18:06:17 -05:00
parent d40418d344
commit 40e86df080
No known key found for this signature in database
GPG Key ID: 73A788379A197567
3 changed files with 3 additions and 5 deletions

View File

@ -29,7 +29,7 @@ import javax.annotation.Nonnull;
* @since 8/25/2018 * @since 8/25/2018
*/ */
@Mixin(BlockPos.class) @Mixin(BlockPos.class)
public abstract class MixinBlockPos extends Vec3i { public class MixinBlockPos extends Vec3i {
public MixinBlockPos(int xIn, int yIn, int zIn) { public MixinBlockPos(int xIn, int yIn, int zIn) {
super(xIn, yIn, zIn); super(xIn, yIn, zIn);

View File

@ -29,7 +29,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
* @since 7/31/2018 11:44 PM * @since 7/31/2018 11:44 PM
*/ */
@Mixin(KeyBinding.class) @Mixin(KeyBinding.class)
public abstract class MixinKeyBinding { public class MixinKeyBinding {
@Inject( @Inject(
method = "isKeyDown", method = "isKeyDown",

View File

@ -37,12 +37,10 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
* @since 8/6/2018 9:30 PM * @since 8/6/2018 9:30 PM
*/ */
@Mixin(NetworkManager.class) @Mixin(NetworkManager.class)
public abstract class MixinNetworkManager { public class MixinNetworkManager {
@Shadow private Channel channel; @Shadow private Channel channel;
@Shadow protected abstract void channelRead0(ChannelHandlerContext p_channelRead0_1_, Packet<?> p_channelRead0_2_) throws Exception;
@Inject( @Inject(
method = "dispatchPacket", method = "dispatchPacket",
at = @At("HEAD") at = @At("HEAD")