Fixes CanaryModTeam/CanaryMod#40