Cache the STORAGE_MONITORABLE_ACCESSOR Capability to reduce the amount of MENetworkCellArrayUpdates (#3077)

This commit is contained in:
fscan
2017-09-09 13:30:16 +02:00
committed by GitHub
parent 4a6162907c
commit 05b29d0de0
+1 -1
View File
@@ -1423,7 +1423,7 @@ public class Platform
if( target.hasCapability( Capabilities.STORAGE_MONITORABLE_ACCESSOR, null ) )
{
return 0;
return target.getCapability( Capabilities.STORAGE_MONITORABLE_ACCESSOR, null ).hashCode();
}
else if( target instanceof TileEntityChest )
{