Merge pull request #79 from SirFell/potion-dev

Fix AbstractMethodError caused by Lombok naming getter differently
This commit is contained in:
FalsePattern authored and GitHub committed 2022-12-29 12:56:15 +01:00
commit 83227b76f2
1 file changed
+5 -1
@@ -15,7 +15,6 @@ import net.minecraft.potion.PotionEffect;
@Mixin(value = S1DPacketEntityEffect.class)
public abstract class S1DPacketEntityEffectMixin implements IS1DPacketEntityEffectMixin {
@Getter
private int idExtended;
@WrapOperation(method = "<init>(ILnet/minecraft/potion/PotionEffect;)V",
@@ -46,4 +45,9 @@ public abstract class S1DPacketEntityEffectMixin implements IS1DPacketEntityEffe
instance.writeInt(idExtended);
return null;
}
@Override
public int getIDExtended() {
return this.idExtended;
}
}