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) @Patch(Screen.class)
public abstract static class BackgroundOverride implements Opcodes { public abstract static class BackgroundOverride implements Opcodes {
@Find(BackgroundPatch.class) @Find(BackgroundOverride.class)
MethodProxy shouldDrawBackground; MethodProxy shouldDrawBackground;
@Target(of = "shouldDrawBackground") @Target(of = "shouldDrawBackground")

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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