fix: updated to newer patcher version
This commit is contained in:
parent
5cb0041469
commit
0678e882c5
2 changed files with 5 additions and 5 deletions
|
@ -37,7 +37,7 @@ public class BoatPatch {
|
|||
public abstract void controlBoat();
|
||||
|
||||
@Injector
|
||||
public static void inject(ClassNode clazz, MethodNode main) {
|
||||
public void inject(ClassNode clazz, MethodNode main) {
|
||||
// Hook at method start
|
||||
LabelNode skip = new LabelNode();
|
||||
InsnSequence is = new InsnSequence();
|
||||
|
@ -61,7 +61,7 @@ public class BoatPatch {
|
|||
public abstract void clampRotation(Entity e);
|
||||
|
||||
@Injector
|
||||
public static void inject(ClassNode clazz, MethodNode main) {
|
||||
public void inject(ClassNode clazz, MethodNode main) {
|
||||
// Hook at method start
|
||||
LabelNode skip = new LabelNode();
|
||||
InsnSequence is = new InsnSequence();
|
||||
|
@ -85,7 +85,7 @@ public class BoatPatch {
|
|||
public abstract boolean isNoGravity();
|
||||
|
||||
@Injector
|
||||
public static void inject(ClassNode clazz, MethodNode main) {
|
||||
public void inject(ClassNode clazz, MethodNode main) {
|
||||
// Hook at method start
|
||||
LabelNode skip = new LabelNode();
|
||||
InsnSequence is = new InsnSequence();
|
||||
|
|
|
@ -33,7 +33,7 @@ public class PacketPatch {
|
|||
public abstract void channelRead0(ChannelHandlerContext ctx, IPacket pak);
|
||||
|
||||
@Injector
|
||||
public static void inject(ClassNode clazz, MethodNode main) {
|
||||
public void inject(ClassNode clazz, MethodNode main) {
|
||||
// ALOAD, GETFIELD, INVOKEINTERFACE, IFEQ
|
||||
AbstractInsnNode found = PatternMatcher.builder()
|
||||
.opcodes(ALOAD, GETFIELD, INVOKEINTERFACE, IFEQ)
|
||||
|
@ -68,7 +68,7 @@ public class PacketPatch {
|
|||
public abstract void sendPacket(IPacket pak, GenericFutureListener gfl);
|
||||
|
||||
@Injector
|
||||
public static void inject(ClassNode clazz, MethodNode main) {
|
||||
public void inject(ClassNode clazz, MethodNode main) {
|
||||
// hook at the top
|
||||
LabelNode skip = new LabelNode();
|
||||
InsnSequence is = new InsnSequence();
|
||||
|
|
Loading…
Reference in a new issue