Should Fix Enchantment Levels Depend on Player Position (Untested)

Haven't tested this change, but issue #5 still exists on survival, perhaps this will fix it?  Should also remove a depreciation warning.