Closed Colorfulstan closed 9 years ago
This, together with #81 makes me think the whole attach static data thing might broken for runes/masteries. Let me see if I find some time during the week to look into this more closely.
I found the bug. If a DTO contained attached static data it would not allow static data to be attached to any of its children. This has been fixed and I added tests to ensure it does not happen again.
gives an Array where – regarding the attached static data – only summonerspells and champions are attached, not masteries and runes. The isolated calls for
$staticdata->getMasteries()
and$staticdata->getRunes()
deliver the data. As stated in issue #81 thegetMasteries()
obviously gets called withinStaticOptimizer.php
, but the data doesn´t reach the currentGame() result