Fixed NPE for picking order of triggered abilities.
Merge branch 'master' of https://github.com/magefree/mage.git