if (event.getEntity().fallDistance >= 250) {
BlockPos location = event.getEntity().getPosition();
BlockPos bedrock = PosUtils.checkNeighbor(event.getEntity().getEntityWorld(), location, Blocks.BEDROCK);
if (bedrock != null) {
if (event.getEntity().getEntityWorld().getBlockState(bedrock).getBlock() == Blocks.BEDROCK) {
<BUG>TeleportUtil.teleportToDimension((EntityPlayer) event.getEntity(), Wizardry.underWorld.getId(), 0, 100, 0);

fallResetUUIDs.add(event.getEntity().getUniqueID());</BUG>
((EntityPlayer) event.getEntity()).addStat(Achievements.CRUNCH);
event.setCanceled(true);

if (event.getEntity().fallDistance >= 250) {
BlockPos location = event.getEntity().getPosition();
BlockPos bedrock = PosUtils.checkNeighbor(event.getEntity().getEntityWorld(), location, Blocks.BEDROCK);
if (bedrock != null) {
if (event.getEntity().getEntityWorld().getBlockState(bedrock).getBlock() == Blocks.BEDROCK) {
TeleportUtil.teleportToDimension((EntityPlayer) event.getEntity(), Wizardry.underWorld.getId(), 0, 300, 0);
((EntityPlayer) event.getEntity()).addPotionEffect(new PotionEffect(ModPotions.NULLIFY_GRAVITY, 100, 1, false, false));
fallResetUUIDs.add(event.getEntity().getUniqueID());
((EntityPlayer) event.getEntity()).addStat(Achievements.CRUNCH);
event.setCanceled(true);
