#301 Updated to new CoFHCore

CoFH api changed. This is the fix
Merge pull request #305 from mysticdrew/master

Fixed #301 Updated to new CoFHCore