View Issue Details

IDProjectCategoryView StatusLast Update
0001704Industrial-Craft²crossmod-compatibility / submodules / APIpublic2015-08-18 16:40
ReporterLemADEC Assigned ToAroma1997  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformJava 1.7OSNAOS VersionNA
Fixed in VersionBuilds for MC 1.7.10 
Summary0001704: NetworkHelper API fails to get networkManager instance
DescriptionAs 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 ReproduceCall any public method in ic2.api.NetworkHelper class, for example:
TileEntity te = xxxx get an IC2 Macerator here xxxx
NetworkHelper.updateTileEntityField(te, "facing");
Additional InformationFrom a quick check in the Jenkins artefacts, issue was probably introduced in industrialcraft-2-2.1.406-experimental.
TagsNo tags attached.
Minecraft Version

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-08-17 23:43 LemADEC New Issue
2015-08-18 16:40 Aroma1997 Status new => resolved
2015-08-18 16:40 Aroma1997 Resolution open => fixed
2015-08-18 16:40 Aroma1997 Assigned To => Aroma1997
2015-08-18 16:40 Aroma1997 Fixed in Version => Builds for MC 1.7.10