Fix annotations

Turns out the InterfaceList is obligatory, even if there's only one interface
This commit is contained in:
abel1502 2025-06-20 01:53:05 +03:00
parent eaa2dfa23d
commit 2744ab322c
No known key found for this signature in database
GPG Key ID: 076926596A536338
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.util.ForgeDirection;
@Optional.Interface(iface = "appeng.api.storage.IExternalStorageHandler", modid = "appliedenergistics2")
@Optional.InterfaceList({@Optional.Interface(iface = "appeng.api.storage.IExternalStorageHandler", modid = "appliedenergistics2")})
public class MSUExternalStorageHandler implements IExternalStorageHandler {
public MSUExternalStorageHandler() {}

View File

@ -14,7 +14,7 @@ import appeng.api.storage.data.IAEItemStack;
import appeng.api.storage.data.IItemList;
import net.minecraft.item.ItemStack;
@Optional.Interface(iface = "appeng.api.storage.IMEInventory", modid = "appliedenergistics2")
@Optional.InterfaceList({@Optional.Interface(iface = "appeng.api.storage.IMEInventory", modid = "appliedenergistics2")})
public class MassStorageMEInventory implements IMEInventory<IAEItemStack> {
private TileEntityMassStorage tile;