Addition to CanaryLib/#4

Fixes https://github.com/CanaryModTeam/CanaryLib/issues/1