View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001704 | Industrial-Craft² | crossmod-compatibility / submodules / API | public | 2015-08-17 23:43 | 2015-08-18 16:40 |
Reporter | LemADEC | Assigned To | Aroma1997 | ||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Java 1.7 | OS | NA | OS Version | NA |
Fixed in Version | Builds for MC 1.7.10 | ||||
Summary | 0001704: NetworkHelper API fails to get networkManager instance | ||||
Description | As of industrialcraft-2-2.2.763-experimental, the ic2.core.IC2.network field is of type SideGateway<NetworkManager>. As of industrialcraft-2_2.0.397-experimental, the ic2.core.IC2.network field is of type NetworkManager. This field is retrieved by ic2.api.network.NetworkHelper.getInstance() for use in that class. The getInstance() wasn't updated to take into account SideGateway(), hence returns the wrong object and the whole NetworkHelper is useless. | ||||
Steps To Reproduce | Call any public method in ic2.api.NetworkHelper class, for example: TileEntity te = xxxx get an IC2 Macerator here xxxx NetworkHelper.updateTileEntityField(te, "facing"); | ||||
Additional Information | From a quick check in the Jenkins artefacts, issue was probably introduced in industrialcraft-2-2.1.406-experimental. | ||||
Tags | No tags attached. | ||||
Minecraft Version | |||||