mirror of
https://github.com/GTMEGA/EndlessIDs.git
synced 2026-11-12 04:57:31 +00:00
Remove Lombok annotation and make a getter manually.
This commit is contained in:
1 parent
5c81a620e2
commit
078cc110ff
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