Removed several unchecked casts.

This commit is contained in:
Sebastian Hartte
2020-07-19 15:49:01 +02:00
parent e1f9e01404
commit b45669bb82
8 changed files with 27 additions and 33 deletions
@@ -41,11 +41,10 @@ public class AENetworkProxyMultiblock extends AENetworkProxy implements IGridMul
if (this.getCluster() == null) {
return new ChainedIterator<>();
}
return new ProxyNodeIterator(this.getCluster().getTiles());
}
private IAECluster getCluster() {
return ((IAEMultiBlock) this.getMachine()).getCluster();
return ((IAEMultiBlock<?>) this.getMachine()).getCluster();
}
}