mirror of
https://github.com/GTMEGA/EndlessIDs.git
synced 2026-11-12 22:27:36 +00:00
Merge pull request #79 from SirFell/potion-dev
Fix AbstractMethodError caused by Lombok naming getter differently
This commit is contained in:
1 file changed
+5
-1
+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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user