{
System.err.println("Cannot Transfer Entity to Dimension: Could not get World for Dimension " + dimensionID);
return null;
}
final ITeleportType type = GalacticraftRegistry.getTeleportTypeForDimension(var6.provider.getClass());
if (type != null)
{
return WorldUtil.teleportEntity(var6, entity, dimensionID, type, transferInv, ridingRocket);
}