Fixed a bug introduced when removing InfiniCraft support