fix: reference inner class name in patch finder

This commit is contained in:
zaaarf 2023-04-06 14:46:08 +02:00
parent 9c8a192866
commit a5271a1d32
No known key found for this signature in database
GPG key ID: 82240E075E31FA4C
8 changed files with 11 additions and 11 deletions

View file

@ -31,7 +31,7 @@ public class BackgroundPatch implements ICommons {
@Patch(Screen.class)
public abstract static class BackgroundOverride implements Opcodes {
@Find(BackgroundPatch.class)
@Find(BackgroundOverride.class)
MethodProxy shouldDrawBackground;
@Target(of = "shouldDrawBackground")

View file

@ -22,7 +22,7 @@ public class BlockPushPatch {
@Patch(ClientPlayerEntity.class)
public abstract static class BlockCollisionsOverride implements Opcodes {
@Find(BlockPushPatch.class)
@Find(BlockCollisionsOverride.class)
MethodProxy shouldCancelBlockCollisions;
@Target(of = "shouldCancelBlockCollisions")

View file

@ -32,7 +32,7 @@ public class BoatPatch implements ICommons {
@Patch(BoatEntity.class)
public abstract static class BoatControlOverride implements Opcodes {
@Find(BoatPatch.class)
@Find(BoatControlOverride.class)
MethodProxy boatControl;
@Target(of = "boatControl")
@ -59,7 +59,7 @@ public class BoatPatch implements ICommons {
@Patch(BoatEntity.class)
public abstract static class BoatClampOverride implements Opcodes {
@Find(BoatPatch.class)
@Find(BoatClampOverride.class)
MethodProxy boatClampRotation;
@Target(of = "boatClampRotation")
@ -86,7 +86,7 @@ public class BoatPatch implements ICommons {
@Patch(Entity.class)
public abstract static class BoatGravityOverride implements Opcodes {
@Find(BoatPatch.class)
@Find(BoatGravityOverride.class)
MethodProxy boatGravityCheck;
@Target(of = "boatGravityCheck")

View file

@ -32,7 +32,7 @@ public class CommandsPatch {
@Patch(ClientPlayNetHandler.class)
public abstract static class CommandsDispatcherCatcher implements Opcodes {
@Find(CommandsPatch.class)
@Find(CommandsDispatcherCatcher.class)
MethodProxy cmdBuilt;
@Target(of = "cmdBuilt")

View file

@ -23,7 +23,7 @@ public class EntityPushPatch implements ICommons {
@Patch(Entity.class)
public abstract static class EntityCollisionsOverride implements Opcodes {
@Find(EntityPushPatch.class)
@Find(EntityCollisionsOverride.class)
MethodProxy shouldCancelEntityCollisions;
@Target(of = "shouldCancelEntityCollisions")

View file

@ -23,7 +23,7 @@ public class LiquidPushPatch implements ICommons {
@Patch(PlayerEntity.class)
public abstract static class LiquidCollisionsOverride implements Opcodes {
@Find(LiquidPushPatch.class)
@Find(LiquidCollisionsOverride.class)
MethodProxy shouldCancelLiquidCollisions;
@Target(of = "shouldCancelLiquidCollisions")

View file

@ -24,7 +24,7 @@ public class NoSlowPatch {
@Patch(ClientPlayerEntity.class)
public abstract static class SlowDownOverride implements Opcodes {
@Find(NoSlowPatch.class)
@Find(SlowDownOverride.class)
MethodProxy shouldSlowPlayer;
@Target(of = "shouldSlowPlayer")

View file

@ -45,7 +45,7 @@ public class PacketPatch {
@Patch(NetworkManager.class)
public abstract static class IncomingPacketInterceptor implements Opcodes {
@Find(PacketPatch.class)
@Find(IncomingPacketInterceptor.class)
MethodProxy pktIn;
@Target(of = "pktIn")
@ -81,7 +81,7 @@ public class PacketPatch {
@Patch(NetworkManager.class)
public abstract static class OutgoingPacketInterceptor implements Opcodes {
@Find(PacketPatch.class)
@Find(OutgoingPacketInterceptor.class)
MethodProxy pktOut;
@Target(of = "pktOut")