Make it 1.8 compatible

This commit is contained in:
Lixfel
2025-04-05 18:02:48 +02:00
parent a6c46d0270
commit 812e78d277
4 changed files with 13 additions and 4 deletions
@@ -66,8 +66,8 @@ public class BlockIds14 implements BlockIds {
return getBlock.invoke(null, material);
}
private static final Reflection.Method getCombinedId = Reflection.getTypedMethod(TechHider.block, null, int.class, TechHider.iBlockData);
private int getCombinedId(Object blockData) {
@Override
public int getCombinedId(Object blockData) {
return (int) getCombinedId.invoke(null, blockData);
}
}