aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-04-06 14:46:08 +0200
committer zaaarf <zaaarf@proton.me>2023-04-06 14:46:08 +0200
commita5271a1d32b208f1171e25843148729b1f204129 (patch)
treefa9cde7c52de1c4c7216a8486824925a5dfb5296 /src/main/java/ftbsc
parent9c8a19286648b5e39d2750d992e12b657e015991 (diff)
fix: reference inner class name in patch finder
Diffstat (limited to 'src/main/java/ftbsc')
-rw-r--r--src/main/java/ftbsc/bscv/patches/BackgroundPatch.java2
-rw-r--r--src/main/java/ftbsc/bscv/patches/BlockPushPatch.java2
-rw-r--r--src/main/java/ftbsc/bscv/patches/BoatPatch.java6
-rw-r--r--src/main/java/ftbsc/bscv/patches/CommandsPatch.java2
-rw-r--r--src/main/java/ftbsc/bscv/patches/EntityPushPatch.java2
-rw-r--r--src/main/java/ftbsc/bscv/patches/LiquidPushPatch.java2
-rw-r--r--src/main/java/ftbsc/bscv/patches/NoSlowPatch.java2
-rw-r--r--src/main/java/ftbsc/bscv/patches/PacketPatch.java4
8 files changed, 11 insertions, 11 deletions
diff --git a/src/main/java/ftbsc/bscv/patches/BackgroundPatch.java b/src/main/java/ftbsc/bscv/patches/BackgroundPatch.java
index 92b6710..e9444c0 100644
--- a/src/main/java/ftbsc/bscv/patches/BackgroundPatch.java
+++ b/src/main/java/ftbsc/bscv/patches/BackgroundPatch.java
@@ -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")
diff --git a/src/main/java/ftbsc/bscv/patches/BlockPushPatch.java b/src/main/java/ftbsc/bscv/patches/BlockPushPatch.java
index cc35eda..a52a23e 100644
--- a/src/main/java/ftbsc/bscv/patches/BlockPushPatch.java
+++ b/src/main/java/ftbsc/bscv/patches/BlockPushPatch.java
@@ -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")
diff --git a/src/main/java/ftbsc/bscv/patches/BoatPatch.java b/src/main/java/ftbsc/bscv/patches/BoatPatch.java
index ef00f2d..4de534f 100644
--- a/src/main/java/ftbsc/bscv/patches/BoatPatch.java
+++ b/src/main/java/ftbsc/bscv/patches/BoatPatch.java
@@ -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")
diff --git a/src/main/java/ftbsc/bscv/patches/CommandsPatch.java b/src/main/java/ftbsc/bscv/patches/CommandsPatch.java
index 4f45b42..b5fbc76 100644
--- a/src/main/java/ftbsc/bscv/patches/CommandsPatch.java
+++ b/src/main/java/ftbsc/bscv/patches/CommandsPatch.java
@@ -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")
diff --git a/src/main/java/ftbsc/bscv/patches/EntityPushPatch.java b/src/main/java/ftbsc/bscv/patches/EntityPushPatch.java
index c40062f..226b471 100644
--- a/src/main/java/ftbsc/bscv/patches/EntityPushPatch.java
+++ b/src/main/java/ftbsc/bscv/patches/EntityPushPatch.java
@@ -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")
diff --git a/src/main/java/ftbsc/bscv/patches/LiquidPushPatch.java b/src/main/java/ftbsc/bscv/patches/LiquidPushPatch.java
index 2db811e..e883533 100644
--- a/src/main/java/ftbsc/bscv/patches/LiquidPushPatch.java
+++ b/src/main/java/ftbsc/bscv/patches/LiquidPushPatch.java
@@ -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")
diff --git a/src/main/java/ftbsc/bscv/patches/NoSlowPatch.java b/src/main/java/ftbsc/bscv/patches/NoSlowPatch.java
index a100108..0399def 100644
--- a/src/main/java/ftbsc/bscv/patches/NoSlowPatch.java
+++ b/src/main/java/ftbsc/bscv/patches/NoSlowPatch.java
@@ -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")
diff --git a/src/main/java/ftbsc/bscv/patches/PacketPatch.java b/src/main/java/ftbsc/bscv/patches/PacketPatch.java
index bc9b835..7decc4b 100644
--- a/src/main/java/ftbsc/bscv/patches/PacketPatch.java
+++ b/src/main/java/ftbsc/bscv/patches/PacketPatch.java
@@ -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")