Fixed the NEI breaking bug.

Cleaned up the function. Didn't find a way to avoid the extra experience packet. Ah well.